Associates an Amazon Web Services Identity and Access Management (IAM) role with a DB instance.
To add a role to a DB instance, the status of the DB instance must be available.
This command doesn't apply to RDS Custom.
get/#Action=AddRoleToDBInstance
Query parameters
DBInstanceIdentifierstring required
The name of the DB instance to associate the IAM role with.
RoleArnstring required
The Amazon Resource Name (ARN) of the IAM role to associate with the DB instance, for example <code>arn:aws:iam::123456789012:role/AccessRole</code>.
FeatureNamestring required
The name of the feature for the DB instance that the IAM role is to be associated with. For information about supported feature names, see <a>DBEngineVersion</a>.
Action'AddRoleToDBInstance' required
Version'2014-10-31' required
Response
Success