add_role_to_db_cluster(**kwargs)¶Associates an Identity and Access Management (IAM) role with a DB cluster.
See also: AWS API Documentation
Request Syntax
response = client.add_role_to_db_cluster(
DBClusterIdentifier='string',
RoleArn='string',
FeatureName='string'
)
[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 .
None
Exceptions
RDS.Client.exceptions.DBClusterNotFoundFaultRDS.Client.exceptions.DBClusterRoleAlreadyExistsFaultRDS.Client.exceptions.InvalidDBClusterStateFaultRDS.Client.exceptions.DBClusterRoleQuotaExceededFault