iam-customer-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.


Checks if the managed Amazon Identity and Access Management (IAM) policies that you create do not allow blocked actions on Amazon KMS keys. The rule is NON_COMPLIANT if any blocked action is allowed on Amazon KMS keys by the managed IAM policy.


This rule does not evalute the conditions provided in IAM policies. For more information on IAM conditions, see IAM JSON policy elements: Condition in the IAM User Guide.


Trigger type: Configuration changes

Amazon Web Services Region: All supported Amazon regions except Asia Pacific (Jakarta), Middle East (UAE), Asia Pacific (Osaka) Region


Type: CSV

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

excludePermissionBoundaryPolicy (Optional)
Type: boolean

Boolean flag to exclude the evaluation of IAM policies used as permissions boundaries. If set to 'true', the rule will not include permissions boundaries in the evaluation. Otherwise, all IAM policies in scope are evaluated when value is set to 'false.' Default value is 'false'.

Amazon CloudFormation template

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