interface DBInstanceRoleProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.RDS.CfnDBInstance.DBInstanceRoleProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#CfnDBInstance_DBInstanceRoleProperty |
![]() | software.amazon.awscdk.services.rds.CfnDBInstance.DBInstanceRoleProperty |
![]() | aws_cdk.aws_rds.CfnDBInstance.DBInstanceRoleProperty |
![]() | aws-cdk-lib » aws_rds » CfnDBInstance » DBInstanceRoleProperty |
Information about 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
Name | Type | Description |
---|---|---|
feature | string | The name of the feature associated with the AWS Identity and Access Management (IAM) role. |
role | string | The 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.