Class: Aws::DocDB::Types::CreateDBSubnetGroupMessage

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

Represents the input to CreateDBSubnetGroup.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#db_subnet_group_descriptionString

The description for the subnet group.

Returns:

  • (String)


1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-docdb/types.rb', line 1128

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


1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-docdb/types.rb', line 1128

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

#subnet_idsArray<String>

The Amazon EC2 subnet IDs for the subnet group.

Returns:

  • (Array<String>)


1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-docdb/types.rb', line 1128

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

#tagsArray<Types::Tag>

The tags to be assigned to the subnet group.

Returns:



1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-docdb/types.rb', line 1128

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