iam-inline-policy-blocked-kms-actions - Amazon Config
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Checks if the inline policies attached to your IAM users, roles, and groups do not allow blocked actions on all Amazon KMS keys. The rule is NON_COMPLIANT if any blocked action is allowed on all Amazon KMS keys in an inline policy.


Resource Types: AWS::IAM::Group, AWS::IAM::Role, AWS::IAM::User

Trigger type: Configuration changes

Amazon Web Services Region: All supported Amazon regions except Middle East (UAE), Asia Pacific (Hyderabad), Asia Pacific (Osaka), Asia Pacific (Melbourne), Israel (Tel Aviv), Canada West (Calgary), Europe (Spain), Europe (Zurich) Region


Type: CSV

Comma-separated list of blocked KMS action patterns, for example, kms:*, kms:Decrypt, kms:ReEncrypt*.

excludeRoleByManagementAccount (Optional)
Type: boolean

Exclude a role if it is only assumable by organization management account.

Amazon CloudFormation template

To create Amazon Config managed rules with Amazon CloudFormation templates, see Creating Amazon Config Managed Rules With Amazon CloudFormation Templates.