iam-role-managed-policy-check - 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).

iam-role-managed-policy-check

Checks if all managed policies specified in the list of managed policies are attached to the Amazon Identity and Access Management (IAM) role. The rule is NON_COMPLIANT if a managed policy is not attached to the IAM role.

Identifier: IAM_ROLE_MANAGED_POLICY_CHECK

Resource Types: AWS::IAM::Role

Trigger type: Configuration changes

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

Parameters:

managedPolicyArns
Type: CSV

Comma-separated list of Amazon managed policy Amazon Resource Names (ARNs). For more information, see Amazon Resource Names (ARNs) and Amazon managed policies in the IAM User Guide.

Amazon CloudFormation template

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