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

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


1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1012

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)


1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1012

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


1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1012

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:



1012
1013
1014
1015
1016
1017
1018
1019
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1012

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