AWS::RDS::DBCluster DBClusterRole - AWS CloudFormation

AWS::RDS::DBCluster DBClusterRole

Describes an AWS Identity and Access Management (IAM) role that is associated with a DB cluster.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "FeatureName" : String, "RoleArn" : String }

YAML

FeatureName: String RoleArn: String

Properties

FeatureName

The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf. For the list of supported feature names, see the SupportedFeatureNames description in DBEngineVersion in the Amazon RDS API Reference.

Required: No

Type: String

Update requires: No interruption

RoleArn

The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.

Required: Yes

Type: String

Update requires: No interruption

Examples

The following specifies a role to associate with a DB cluster.

JSON

"AssociatedRoles": [ { "FeatureName": "s3Import", "RoleArn": "arn:aws:iam::123456789012:role/RDSLoadFromS3" } ]

YAML

AssociatedRoles: - FeatureName: s3Import RoleArn: 'arn:aws:iam::123456789012:role/RDSLoadFromS3'