Interface CfnSubnetGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSubnetGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:25:01.496Z")
@Stability(Stable)
public interface CfnSubnetGroupProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSubnetGroup
.
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.memorydb.*; CfnSubnetGroupProps cfnSubnetGroupProps = CfnSubnetGroupProps.builder() .subnetGroupName("subnetGroupName") .subnetIds(List.of("subnetIds")) // the properties below are optional .description("description") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSubnetGroupProps
static final class
An implementation forCfnSubnetGroupProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSubnetGroupProps.Builder
builder()
default String
A description of the subnet group.The name of the subnet group to be used for the cluster .A list of Amazon VPC subnet IDs for the subnet group.getTags()
An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSubnetGroupName
The name of the subnet group to be used for the cluster .- See Also:
-
getSubnetIds
A list of Amazon VPC subnet IDs for the subnet group.- See Also:
-
getDescription
A description of the subnet group.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnSubnetGroupProps.Builder
ofCfnSubnetGroupProps
-