Command option Sample:aws iot get-policy

Search command sample in the internet.It is the result.

Gets information about the specified policy with the policy documentof the default version.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/iot/get-policy.html

aws iot get-policy --policy-name ShadowMk5
    amazon-freertos/demos/common/greengrass_connectivity at master 揃 aws/amazon-freertos 揃 GitHub : http://github.com/aws/amazon-freertos/tree/master/demos/common/greengrass_connectivity
aws iot get-policy --policy-name "Policy_Thing1"
    aws iot - AWS Java IOT get policy by policy variable - Stack Overflow : http://stackoverflow.com/questions/48703644/aws-java-iot-get-policy-by-policy-variable
aws iot get-policy --policy-name iotbutton_G030PT027106VPAS --region eu-west-1
    Lambda – mage-net.net : http://www.mage-net.net/2017/07/06/lambda/

aws のオプション一覧