Command option Sample:aws iam create-policy-version

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

Creates a new version of the specified managed policy.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/iam/create-policy-version.html

aws iam create-policy-version --policy-arn arn:aws:iam::123456789012:policy/MyPolicy --policy-document file://NewPolicyVersion.json --set-as-default
    set-default-policy-version — AWS CLI 1.16.7 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/iam/create-policy-version.html
aws iam create-policy-version --policy-arn arn:aws:iam::419890133200:policy/IAM-Read-Only --policy-document file:///Work/AWS/AWShadowAdmins/Demo/AdminPermissionPolicy.json --set-as-default
    SkyArk/AWStealth.ps1 at master 揃 cyberark/SkyArk 揃 GitHub : http://github.com/cyberark/SkyArk/blob/master/AWStealth/AWStealth.ps1
aws iam create-policy-version --policy-arn arn:aws:iam::1234:policy/my-policy --policy-document file://path_to_generated_json.json --set-as-default

    amazon web services - How do you create an AWS IAM policy that allows, or denies, based on a specific time of day, but not a date? - Stack Overflow : http://stackoverflow.com/questions/41899614/how-do-you-create-an-aws-iam-policy-that-allows-or-denies-based-on-a-specific

aws のオプション一覧