interface CfnSubnetGroupMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ElastiCache.CfnSubnetGroupMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awselasticache#CfnSubnetGroupMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnSubnetGroupMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_elasticache.CfnSubnetGroupMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_elasticache » CfnSubnetGroupMixinProps |
Properties for CfnSubnetGroupPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from '@aws-cdk/cfn-property-mixins';
const cfnSubnetGroupMixinProps: elasticache.CfnSubnetGroupMixinProps = {
cacheSubnetGroupName: 'cacheSubnetGroupName',
description: 'description',
subnetIds: ['subnetIds'],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| cache | string | The name for the cache subnet group. This value is stored as a lowercase string. |
| description? | string | The description for the cache subnet group. |
| subnet | (string | ISubnet)[] | The EC2 subnet IDs for the cache subnet group. |
| tags? | Cfn[] | A tag that can be added to an ElastiCache subnet group. |
cacheSubnetGroupName?
Type:
string
(optional)
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
description?
Type:
string
(optional)
The description for the cache subnet group.
subnetIds?
Type:
(string | ISubnet)[]
(optional)
The EC2 subnet IDs for the cache subnet group.
tags?
Type:
Cfn[]
(optional)
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.

.NET
Go
Java
Python
TypeScript