interface CfnSubnetGroupProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MemoryDB.CfnSubnetGroupProps |
Java | software.amazon.awscdk.services.memorydb.CfnSubnetGroupProps |
Python | aws_cdk.aws_memorydb.CfnSubnetGroupProps |
TypeScript | @aws-cdk/aws-memorydb » 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 * as memorydb from '@aws-cdk/aws-memorydb';
const cfnSubnetGroupProps: memorydb.CfnSubnetGroupProps = {
subnetGroupName: 'subnetGroupName',
subnetIds: ['subnetIds'],
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
subnet | string | The name of the subnet group to be used for the cluster . |
subnet | string[] | A list of Amazon VPC subnet IDs for the subnet group. |
description? | string | A description of the subnet group. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
subnetGroupName
Type:
string
The name of the subnet group to be used for the cluster .
subnetIds
Type:
string[]
A list of Amazon VPC subnet IDs for the subnet group.
description?
Type:
string
(optional)
A description of the subnet group.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .