Interface CfnSubnetGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSubnetGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.507Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSubnetGroupPropsstatic final classAn implementation forCfnSubnetGroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSubnetGroupProps.Builderbuilder()default StringThe 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. -
getSubnetIds
The EC2 subnet IDs for the cache subnet group. -
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 -
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.
-
builder
- Returns:
- a
CfnSubnetGroupProps.BuilderofCfnSubnetGroupProps
-