AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the AddRoleToDBInstance operation.
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.
Namespace: Amazon.RDS.Model
Assembly: AWSSDK.RDS.dll
Version: 3.x.y.z
public class AddRoleToDBInstanceRequest : AmazonRDSRequest IAmazonWebServiceRequest
The AddRoleToDBInstanceRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
AddRoleToDBInstanceRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
DBInstanceIdentifier | System.String |
Gets and sets the property DBInstanceIdentifier. The name of the DB instance to associate the IAM role with. |
![]() |
FeatureName | System.String |
Gets and sets the property FeatureName. 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 DBEngineVersion. |
![]() |
RoleArn | System.String |
Gets and sets the property RoleArn.
The Amazon Resource Name (ARN) of the IAM role to associate with the DB instance,
for example |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5