Interface CfnSubnetGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSubnetGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:59.261Z")
@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.elasticache.*; CfnSubnetGroupProps cfnSubnetGroupProps = CfnSubnetGroupProps.builder() .description("description") .subnetIds(List.of("subnetIds")) // the properties below are optional .cacheSubnetGroupName("cacheSubnetGroupName") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSubnetGroupProps
static final class
An implementation forCfnSubnetGroupProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSubnetGroupProps.Builder
builder()
default String
The name for the cache subnet group.The description for the cache subnet group.The EC2 subnet IDs for the cache subnet group.getTags()
A tag that can be added to an ElastiCache subnet group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
The description for the cache subnet group.- See Also:
-
getSubnetIds
The EC2 subnet IDs for the cache subnet group.- See Also:
-
getCacheSubnetGroupName
The name for the cache subnet group. This value is stored as a lowercase string.Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example:
mysubnetgroup
- See Also:
-
getTags
A tag that can be added to an ElastiCache subnet group.Tags are composed of a Key/Value pair. You can use tags to categorize and track all your subnet groups. A tag with a null Value is permitted.
- See Also:
-
builder
- Returns:
- a
CfnSubnetGroupProps.Builder
ofCfnSubnetGroupProps
-