Interface CfnDBSubnetGroupProps

All Superinterfaces:
All Known Implementing Classes:

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


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnDBSubnetGroupProps cfnDBSubnetGroupProps = CfnDBSubnetGroupProps.builder()
         // the properties below are optional
  • Method Details

    • getDbSubnetGroupDescription

      @Stability(Stable) @NotNull String getDbSubnetGroupDescription()
      The description for the subnet group.
    • getSubnetIds

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

      @Stability(Stable) @Nullable default String getDbSubnetGroupName()
      The name for the subnet group. This value is stored as a lowercase string.

      Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

      Example: mySubnetgroup

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags to be assigned to the subnet group.
    • builder

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