interface CfnSubnetGroupProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElastiCache.CfnSubnetGroupProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awselasticache#CfnSubnetGroupProps |
![]() | software.amazon.awscdk.services.elasticache.CfnSubnetGroupProps |
![]() | aws_cdk.aws_elasticache.CfnSubnetGroupProps |
![]() | aws-cdk-lib » aws_elasticache » CfnSubnetGroupProps |
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 { aws_elasticache as elasticache } from 'aws-cdk-lib';
const cfnSubnetGroupProps: elasticache.CfnSubnetGroupProps = {
description: 'description',
subnetIds: ['subnetIds'],
// the properties below are optional
cacheSubnetGroupName: 'cacheSubnetGroupName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
description | string | The description for the cache subnet group. |
subnet | string[] | The EC2 subnet IDs for the cache subnet group. |
cache | string | The name for the cache subnet group. This value is stored as a lowercase string. |
tags? | Cfn [] | A tag that can be added to an ElastiCache subnet group. |
description
Type:
string
The description for the cache subnet group.
subnetIds
Type:
string[]
The EC2 subnet IDs for the cache 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
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.