Interface CfnDBSubnetGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDBSubnetGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.323Z") @Stability(Stable) public interface CfnDBSubnetGroupProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnDBSubnetGroup.

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.neptune.*;
 CfnDBSubnetGroupProps cfnDBSubnetGroupProps = CfnDBSubnetGroupProps.builder()
         .dbSubnetGroupDescription("dbSubnetGroupDescription")
         .subnetIds(List.of("subnetIds"))
         // the properties below are optional
         .dbSubnetGroupName("dbSubnetGroupName")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getDbSubnetGroupDescription

      @Stability(Stable) @NotNull String getDbSubnetGroupDescription()
      Provides the description of the DB subnet group.
    • getSubnetIds

      @Stability(Stable) @NotNull List<String> getSubnetIds()
      The Amazon EC2 subnet IDs for the DB subnet group.
    • getDbSubnetGroupName

      @Stability(Stable) @Nullable default String getDbSubnetGroupName()
      The name of the DB subnet group.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags that you want to attach to the DB subnet group.
    • builder

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