@Stability(value=Stable)
public static interface CfnDBInstance.DBInstanceRoleProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDBInstance.DBInstanceRoleProperty.Builder
A builder for
CfnDBInstance.DBInstanceRoleProperty |
static class |
CfnDBInstance.DBInstanceRoleProperty.Jsii$Proxy
An implementation for
CfnDBInstance.DBInstanceRoleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDBInstance.DBInstanceRoleProperty.Builder |
builder() |
String |
getFeatureName()
The name of the feature associated with the AWS Identity and Access Management (IAM) role.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
|
@Stability(value=Stable) @NotNull String getFeatureName()
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 .
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) static CfnDBInstance.DBInstanceRoleProperty.Builder builder()
Copyright © 2022. All rights reserved.