

# iam-role-managed-policy-check
<a name="iam-role-managed-policy-check"></a>

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\$1COMPLIANT if a managed policy is not attached to the IAM role. 



**Identifier:** IAM\$1ROLE\$1MANAGED\$1POLICY\$1CHECK

**Resource Types:** AWS::IAM::Role

**Trigger type:** Configuration changes

**Amazon Web Services Region:** All supported Amazon regions except Asia Pacific (New Zealand), Asia Pacific (Thailand), Middle East (UAE), Asia Pacific (Hyderabad), Asia Pacific (Malaysia), Asia Pacific (Melbourne), Mexico (Central), Israel (Tel Aviv), Asia Pacific (Taipei), Canada West (Calgary), Europe (Spain), Europe (Zurich) Region

**Parameters:**

managedPolicyArnsType: CSV  
Comma-separated list of Amazon managed policy Amazon Resource Names (ARNs). For more information, see [Amazon Resource Names (ARNs)](https://docs.amazonaws.cn/IAM/latest/UserGuide/reference-arns.html) and [Amazon managed policies](https://docs.amazonaws.cn/IAM/latest/UserGuide/access_policies_managed-vs-inline.html) in the *IAM User Guide*.

## Amazon CloudFormation template
<a name="w2aac20c16c17b7d937c19"></a>

To create Amazon Config managed rules with Amazon CloudFormation templates, see [Creating Amazon Config Managed Rules With Amazon CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).