aws-cdk-lib.aws_rds.CfnDBInstance.DBInstanceRoleProperty

interface DBInstanceRoleProperty

LanguageType name
.NETAmazon.CDK.AWS.RDS.CfnDBInstance.DBInstanceRoleProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsrds#CfnDBInstance_DBInstanceRoleProperty
Javasoftware.amazon.awscdk.services.rds.CfnDBInstance.DBInstanceRoleProperty
Pythonaws_cdk.aws_rds.CfnDBInstance.DBInstanceRoleProperty
TypeScript aws-cdk-lib » aws_rds » CfnDBInstance » DBInstanceRoleProperty

Describes an AWS Identity and Access Management (IAM) role that is associated with a DB instance.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const dBInstanceRoleProperty: rds.CfnDBInstance.DBInstanceRoleProperty = {
  featureName: 'featureName',
  roleArn: 'roleArn',
};

Properties

NameTypeDescription
featureNamestringThe name of the feature associated with the AWS Identity and Access Management (IAM) role.
roleArnstringThe Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.

featureName

Type: string

The name of the feature associated with the AWS Identity and Access Management (IAM) role.

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

Type: string

The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.