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

Class: Aws::RDS::Types::CreateDBSubnetGroupMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb

Overview

Note:

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

{
  db_subnet_group_name: "String", # required
  db_subnet_group_description: "String", # required
  subnet_ids: ["String"], # required
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#db_subnet_group_descriptionString

The description for the DB subnet group.

Returns:

  • (String)


3108
3109
3110
3111
3112
3113
3114
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3108

class CreateDBSubnetGroupMessage < Struct.new(
  :db_subnet_group_name,
  :db_subnet_group_description,
  :subnet_ids,
  :tags)
  include Aws::Structure
end

#db_subnet_group_nameString

The name for the DB subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.

Example: mySubnetgroup

Returns:

  • (String)


3108
3109
3110
3111
3112
3113
3114
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3108

class CreateDBSubnetGroupMessage < Struct.new(
  :db_subnet_group_name,
  :db_subnet_group_description,
  :subnet_ids,
  :tags)
  include Aws::Structure
end

#subnet_idsArray<String>

The EC2 Subnet IDs for the DB subnet group.

Returns:

  • (Array<String>)


3108
3109
3110
3111
3112
3113
3114
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3108

class CreateDBSubnetGroupMessage < Struct.new(
  :db_subnet_group_name,
  :db_subnet_group_description,
  :subnet_ids,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags.

Returns:



3108
3109
3110
3111
3112
3113
3114
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3108

class CreateDBSubnetGroupMessage < Struct.new(
  :db_subnet_group_name,
  :db_subnet_group_description,
  :subnet_ids,
  :tags)
  include Aws::Structure
end