Skip to content

/AWS1/CL_RSH=>CREATECLUSTERSUBNETGROUP()

About CreateClusterSubnetGroup

Creates a new 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 in the Amazon Redshift Cluster Management Guide.

Method Signature

IMPORTING

Required arguments:

IV_CLUSTERSUBNETGROUPNAME TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

The name for the subnet group. Amazon Redshift stores the value as a lowercase string.

Constraints:

  • Must contain no more than 255 alphanumeric characters or hyphens.

  • Must not be "Default".

  • Must be unique for all subnet groups that are created by your Amazon Web Services account.

Example: examplesubnetgroup

IV_DESCRIPTION TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING

A description for the subnet group.

IT_SUBNETIDS TYPE /AWS1/CL_RSHSUBNETIDLIST_W=>TT_SUBNETIDENTIFIERLIST TT_SUBNETIDENTIFIERLIST

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

Optional arguments:

IT_TAGS TYPE /AWS1/CL_RSHTAG=>TT_TAGLIST TT_TAGLIST

A list of tag instances.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RSHCRECLSTSNETGROUPRS /AWS1/CL_RSHCRECLSTSNETGROUPRS