You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshift/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)


1607
1608
1609
1610
1611
1612
1613
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1607

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)


1607
1608
1609
1610
1611
1612
1613
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1607

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>)


1607
1608
1609
1610
1611
1612
1613
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1607

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:



1607
1608
1609
1610
1611
1612
1613
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1607

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