Skip to content

Modify Cluster Subnet Group

redshift_modify_cluster_subnet_group R Documentation

Modifies a cluster subnet group to include the specified list of VPC subnets

Description

Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.

VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:

  • Creating a public cluster

  • Restoring a public cluster

  • Modifying a private cluster to be public

  • Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group

For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.

Usage

redshift_modify_cluster_subnet_group(ClusterSubnetGroupName,
  Description, SubnetIds)

Arguments

ClusterSubnetGroupName

[required] The name of the subnet group to be modified.

Description

A text description of the subnet group to be modified.

SubnetIds

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

Value

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"
      )
    ),
    SupportedClusterIpAddressTypes = list(
      "string"
    )
  )
)

Request syntax

svc$modify_cluster_subnet_group(
  ClusterSubnetGroupName = "string",
  Description = "string",
  SubnetIds = list(
    "string"
  )
)