AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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)


1085
1086
1087
1088
1089
1090
1091
1092
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1085

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)


1085
1086
1087
1088
1089
1090
1091
1092
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1085

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


1085
1086
1087
1088
1089
1090
1091
1092
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1085

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:



1085
1086
1087
1088
1089
1090
1091
1092
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1085

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