Interface CfnDBSubnetGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBSubnetGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:17.212Z")
@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.docdb.*; 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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDBSubnetGroupProps
static final class
An implementation forCfnDBSubnetGroupProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDbSubnetGroupDescription
The description for the subnet group.- See Also:
-
getSubnetIds
The Amazon EC2 subnet IDs for the subnet group.- See Also:
-
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
- See Also:
-
getTags
The tags to be assigned to the subnet group.- See Also:
-
builder
- Returns:
- a
CfnDBSubnetGroupProps.Builder
ofCfnDBSubnetGroupProps
-