Interface CfnDBSubnetGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBSubnetGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:43.765Z")
@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.rds.*;
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDBSubnetGroupPropsstatic final classAn implementation forCfnDBSubnetGroupProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDbSubnetGroupDescription
The description for the DB subnet group.- See Also:
-
getSubnetIds
The EC2 Subnet IDs for the DB subnet group.Returns union: Listinvalid input: '<'either
StringorISubnetRef>- See Also:
-
getDbSubnetGroupName
The name for the DB 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.
- First character must be a letter.
Example:
mydbsubnetgroup- See Also:
-
getTags
Tags to assign to the DB subnet group.- See Also:
-
builder
- Returns:
- a
CfnDBSubnetGroupProps.BuilderofCfnDBSubnetGroupProps
-