Class CfnDBInstance.DBInstanceRoleProperty
Information about an AWS Identity and Access Management (IAM) role that is associated with a DB instance.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DBInstanceRoleProperty : Object, CfnDBInstance.IDBInstanceRoleProperty
Syntax (vb)
Public Class DBInstanceRoleProperty
Inherits Object
Implements CfnDBInstance.IDBInstanceRoleProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var dBInstanceRoleProperty = new DBInstanceRoleProperty {
FeatureName = "featureName",
RoleArn = "roleArn"
};
Synopsis
Constructors
DBInstance |
Properties
Feature |
The name of the feature associated with the AWS Identity and Access Management (IAM) role. |
Role |
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance. |
Constructors
DBInstanceRoleProperty()
public DBInstanceRoleProperty()
Properties
FeatureName
The name of the feature associated with the AWS Identity and Access Management (IAM) role.
public string FeatureName { get; set; }
Property Value
System.
Remarks
IAM roles that are associated with a DB instance grant permission for the DB instance 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 .
RoleArn
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
public string RoleArn { get; set; }
Property Value
System.