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.
redshift_create_cluster_subnet_group(ClusterSubnetGroupName,
Description, SubnetIds, Tags)
A list with the following syntax:
list(
ClusterSubnetGroup = list(
ClusterSubnetGroupName = "string",
Description = "string",
VpcId = "string",
SubnetGroupStatus = "string",
Subnets = list(
list(
SubnetIdentifier = "string",
SubnetAvailabilityZone = list(
Name = "string",
SupportedPlatforms = list(
list(
Name = "string"
)
)
),
SubnetStatus = "string"
)
),
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
)
[required] 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 AWS account.
Example: examplesubnetgroup
[required] A description for the subnet group.
[required] An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
A list of tag instances.
svc$create_cluster_subnet_group(
ClusterSubnetGroupName = "string",
Description = "string",
SubnetIds = list(
"string"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)