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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#db_subnet_group_descriptionString

The description for the DB subnet group.

Returns:

  • (String)

5334
5335
5336
5337
5338
5339
5340
5341
# File 'lib/aws-sdk-rds/types.rb', line 5334

class CreateDBSubnetGroupMessage < Struct.new(
  :db_subnet_group_name,
  :db_subnet_group_description,
  :subnet_ids,
  :tags)
  SENSITIVE = []
  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 letters, numbers, periods, underscores, spaces, or hyphens.

  • Must not be default.

  • First character must be a letter.

Example: `mydbsubnetgroup`

Returns:

  • (String)

5334
5335
5336
5337
5338
5339
5340
5341
# File 'lib/aws-sdk-rds/types.rb', line 5334

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

#subnet_idsArray<String>

The EC2 Subnet IDs for the DB subnet group.

Returns:

  • (Array<String>)

5334
5335
5336
5337
5338
5339
5340
5341
# File 'lib/aws-sdk-rds/types.rb', line 5334

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

#tagsArray<Types::Tag>

Tags to assign to the DB subnet group.

Returns:


5334
5335
5336
5337
5338
5339
5340
5341
# File 'lib/aws-sdk-rds/types.rb', line 5334

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