@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.011Z") @Stability(value=Stable) public interface CfnSubnetGroupProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSubnetGroupProps.Builder
A builder for
CfnSubnetGroupProps |
static class |
CfnSubnetGroupProps.Jsii$Proxy
An implementation for
CfnSubnetGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSubnetGroupProps.Builder |
builder() |
default String |
getCacheSubnetGroupName()
The name for the cache subnet group.
|
String |
getDescription()
The description for the cache subnet group.
|
List<String> |
getSubnetIds()
The EC2 subnet IDs for the cache subnet group.
|
default List<CfnTag> |
getTags()
A tag that can be added to an ElastiCache subnet group.
|
@Stability(value=Stable) @NotNull String getDescription()
@Stability(value=Stable) @NotNull List<String> getSubnetIds()
@Stability(value=Stable) @Nullable default String getCacheSubnetGroupName()
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
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.
@Stability(value=Stable) static CfnSubnetGroupProps.Builder builder()
CfnSubnetGroupProps.Builder of CfnSubnetGroupPropsCopyright © 2022. All rights reserved.