Interface CfnDBInstance.DBInstanceRoleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBInstance.DBInstanceRoleProperty.Jsii$Proxy
- Enclosing class:
CfnDBInstance
@Stability(Stable)
public static interface CfnDBInstance.DBInstanceRoleProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.rds.*; DBInstanceRoleProperty dBInstanceRoleProperty = DBInstanceRoleProperty.builder() .featureName("featureName") .roleArn("roleArn") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDBInstance.DBInstanceRoleProperty
static final class
An implementation forCfnDBInstance.DBInstanceRoleProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the feature associated with the AWS Identity and Access Management (IAM) role.The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFeatureName
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 . -
getRoleArn
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance. -
builder
-