aws-cdk-lib.aws_memorydb.CfnSubnetGroupProps

interface CfnSubnetGroupProps

LanguageType name
.NETAmazon.CDK.AWS.MemoryDB.CfnSubnetGroupProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmemorydb#CfnSubnetGroupProps
Javasoftware.amazon.awscdk.services.memorydb.CfnSubnetGroupProps
Pythonaws_cdk.aws_memorydb.CfnSubnetGroupProps
TypeScript aws-cdk-lib » 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 { 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

NameTypeDescription
subnetGroupNamestringThe name of the subnet group to be used for the cluster .
subnetIdsstring[]A list of Amazon VPC subnet IDs for the subnet group.
description?stringA description of the subnet group.
tags?CfnTag[]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: CfnTag[] (optional)

An array of key-value pairs to apply to this resource.

For more information, see Tag .