Interface CfnDBCluster.DBClusterRoleProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDBCluster.DBClusterRoleProperty.Jsii$Proxy
Enclosing class:
CfnDBCluster

@Stability(Stable) public static interface CfnDBCluster.DBClusterRoleProperty extends software.amazon.jsii.JsiiSerializable
Describes an AWS Identity and Access Management (IAM) role that is associated with a DB cluster.

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.*;
 DBClusterRoleProperty dBClusterRoleProperty = DBClusterRoleProperty.builder()
         .roleArn("roleArn")
         // the properties below are optional
         .featureName("featureName")
         .build();
 
  • Method Details

    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
    • getFeatureName

      @Stability(Stable) @Nullable default String getFeatureName()
      The name of the feature associated with the AWS Identity and Access Management (IAM) role.

      IAM roles that are associated with a DB cluster grant permission for the DB cluster 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 .

    • builder

      @Stability(Stable) static CfnDBCluster.DBClusterRoleProperty.Builder builder()
      Returns:
      a CfnDBCluster.DBClusterRoleProperty.Builder of CfnDBCluster.DBClusterRoleProperty