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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateDBSubnetGroupMessage as input to an Aws::Client method, you can use a vanilla 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)

    The description for the DB subnet group.

#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.

Example: mySubnetgroup

Returns:

  • (String)

    The name for the DB subnet group.

#subnet_idsArray<String>

The EC2 Subnet IDs for the DB subnet group.

Returns:

  • (Array<String>)

    The EC2 Subnet IDs for the DB subnet group.

#tagsArray<Types::Tag>

Tags to assign to the DB subnet group.

Returns:

  • (Array<Types::Tag>)

    Tags to assign to the DB subnet group.