AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Redshift::ClusterSubnetGroup

CfnClusterSubnetGroup

Specifies an Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud ( Amazon VPC ) when creating Amazon Redshift subnet group. For information about subnet groups, go to [Amazon Redshift Cluster Subnet Groups](https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-cluster-subnet-groups.html) in the *Amazon Redshift Cluster Management Guide* .

Import

import { CfnClusterSubnetGroup } from 'aws-cdk-lib/aws-redshift';

Or use the module namespace:

import * as redshift from 'aws-cdk-lib/aws-redshift';
// redshift.CfnClusterSubnetGroup

Properties

Configuration passed to the constructor as CfnClusterSubnetGroupProps.

descriptionRequired
string

A description for the subnet group.

subnetIdsRequired
string | ISubnetRef[]

An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.

tagsOptional
CfnTag[]

Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group. Use tags to manage your resources.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter