Command option Sample:aws iam delete-policy

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

Deletes the specified managed policy.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/iam/delete-policy.html

aws iam delete-policy \
    AWS IAM "ReadOnlyAccess" Managed Policy Is Too Permissive (For Us) - Alestic.com : http://alestic.com/2015/10/aws-iam-readonly-too-permissive/
aws iam delete-policy --policy-arn arn:aws:iam::123456789012:policy/MySamplePolicy
    delete-user-policy — AWS CLI 1.16.7 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/iam/delete-policy.html
aws iam delete-policy --policy-arn arn:aws:iam::956547487034:policy/RequireMFA
    AWS IAM / CLI / MFA Notes 揃 GitHub : http://gist.github.com/davejamesmiller/90f292d2d9a21bac5f6116296fa64657
aws iam delete-policy --policy-arn arn:aws:iam::
    How to easily delete IAM roles created by `apex init`? 揃 Issue #843 揃 apex/apex 揃 GitHub : http://github.com/apex/apex/issues/843
aws iam delete-policy --policy-arn arn:aws:iam::123456789012:policy/s3-access-policy
    How to Control Access with AWS IAM for Users and Groups using the CLI for Granting S3 Access : http://sysadmins.co.za/how-to-control-access-with-aws-iam-for-users-and-groups-using-the-cli-for-granting-s3-access/
aws iam delete-policy --policy-arn
     Powershell Script for Deleting Unused IAM Customer Managed Policies on AWS : http://www.aaronmedacco.com/blog/post/2017/02/16/powershell-script-for-deleting-unused-iam-customer-managed-policies-on-aws

aws のオプション一覧