Associates an Identity and Access Management (IAM) role from an Amazon Aurora DB cluster. For more information, see Authorizing Amazon Aurora MySQL to Access Other AWS Services on Your Behalf in the Amazon Aurora User Guide.
This action only applies to Aurora DB clusters.
rds_add_role_to_db_cluster(DBClusterIdentifier, RoleArn, FeatureName)
An empty list.
[required] The name of the DB cluster to associate the IAM role with.
[required] The Amazon Resource Name (ARN) of the IAM role to associate with the
Aurora DB cluster, for example,
arn:aws:iam::123456789012:role/AuroraAccessRole
.
The name of the feature for the DB cluster that the IAM role is to be associated with. For the list of supported feature names, see DBEngineVersion.
svc$add_role_to_db_cluster(
DBClusterIdentifier = "string",
RoleArn = "string",
FeatureName = "string"
)