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