

# DBClusterAssociatedRole
<a name="API_DBClusterAssociatedRole"></a>

Contains information about an AWS Identity and Access Management (IAM) role to associate with a DB cluster. You can specify this structure in the `AssociatedRoles` parameter of [CreateDBCluster](API_CreateDBCluster.md), [RestoreDBClusterFromS3](API_RestoreDBClusterFromS3.md), [RestoreDBClusterFromSnapshot](API_RestoreDBClusterFromSnapshot.md), and [RestoreDBClusterToPointInTime](API_RestoreDBClusterToPointInTime.md).

## Contents
<a name="API_DBClusterAssociatedRole_Contents"></a>

**Note**  
In the following list, the required parameters are described first.

 ** RoleArn **   
The Amazon Resource Name (ARN) of the IAM role to associate with the DB cluster.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 2048.  
Pattern: `arn:aws[a-z-]*:iam::[0-9]*:role/.*`   
Required: Yes

 ** FeatureName **   
The name of the feature associated with the IAM role. For information about supported feature names, see [DBEngineVersion](API_DBEngineVersion.md).  
Type: String  
Required: No

## See Also
<a name="API_DBClusterAssociatedRole_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/rds-2014-10-31/DBClusterAssociatedRole) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/rds-2014-10-31/DBClusterAssociatedRole) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/rds-2014-10-31/DBClusterAssociatedRole) 