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();
 
  • Method Details

    • getFeatureName

      @Stability(Stable) @NotNull 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 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

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

      @Stability(Stable) static CfnDBInstance.DBInstanceRoleProperty.Builder builder()
      Returns:
      a CfnDBInstance.DBInstanceRoleProperty.Builder of CfnDBInstance.DBInstanceRoleProperty