CfnSubnetGroupProps Struct
Properties for defining a CfnSubnetGroup.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_memorydb as memorydb } from 'aws-cdk-lib';
const cfnSubnetGroupProps: memorydb.CfnSubnetGroupProps = {
subnetGroupName: 'subnetGroupName',
subnetIds: ['subnetIds'],
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#A description of the subnet group.
subnetGroupNamestringsubnet_group_namestrsubnetGroupNameStringSubnetGroupNamestringSubnetGroupName*stringrequired#The name of the subnet group to be used for the cluster .
subnetIdsstring | ISubnetRef[]subnet_idstyping.List[typing.Union[str, ISubnetRef]]subnetIdsList<String>SubnetIdsstring[]SubnetIds*[]interface{}required#A list of Amazon VPC subnet IDs for the subnet group.