Class: Aws::Redshift::Types::CreateClusterSubnetGroupMessage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-redshift/types.rb

Overview

Note:

When making an API call, you may pass CreateClusterSubnetGroupMessage data as a hash:

{
  cluster_subnet_group_name: "String", # required
  description: "String", # required
  subnet_ids: ["String"], # required
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_subnet_group_nameString

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`

Returns:

  • (String)


1990
1991
1992
1993
1994
1995
1996
# File 'lib/aws-sdk-redshift/types.rb', line 1990

class CreateClusterSubnetGroupMessage < Struct.new(
  :cluster_subnet_group_name,
  :description,
  :subnet_ids,
  :tags)
  include Aws::Structure
end

#descriptionString

A description for the subnet group.

Returns:

  • (String)


1990
1991
1992
1993
1994
1995
1996
# File 'lib/aws-sdk-redshift/types.rb', line 1990

class CreateClusterSubnetGroupMessage < Struct.new(
  :cluster_subnet_group_name,
  :description,
  :subnet_ids,
  :tags)
  include Aws::Structure
end

#subnet_idsArray<String>

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

Returns:

  • (Array<String>)


1990
1991
1992
1993
1994
1995
1996
# File 'lib/aws-sdk-redshift/types.rb', line 1990

class CreateClusterSubnetGroupMessage < Struct.new(
  :cluster_subnet_group_name,
  :description,
  :subnet_ids,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tag instances.

Returns:



1990
1991
1992
1993
1994
1995
1996
# File 'lib/aws-sdk-redshift/types.rb', line 1990

class CreateClusterSubnetGroupMessage < Struct.new(
  :cluster_subnet_group_name,
  :description,
  :subnet_ids,
  :tags)
  include Aws::Structure
end