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

Class: Aws::DocDB::Types::ModifyDBSubnetGroupMessage

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 ModifyDBSubnetGroupMessage data as a hash:

{
  db_subnet_group_name: "String", # required
  db_subnet_group_description: "String",
  subnet_ids: ["String"], # required
}

Represents the input to ModifyDBSubnetGroup.

Instance Attribute Summary collapse

Instance Attribute Details

#db_subnet_group_descriptionString

The description for the DB subnet group.

Returns:

  • (String)


3807
3808
3809
3810
3811
3812
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 3807

class ModifyDBSubnetGroupMessage < Struct.new(
  :db_subnet_group_name,
  :db_subnet_group_description,
  :subnet_ids)
  include Aws::Structure
end

#db_subnet_group_nameString

The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

Returns:

  • (String)


3807
3808
3809
3810
3811
3812
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 3807

class ModifyDBSubnetGroupMessage < Struct.new(
  :db_subnet_group_name,
  :db_subnet_group_description,
  :subnet_ids)
  include Aws::Structure
end

#subnet_idsArray<String>

The Amazon EC2 subnet IDs for the DB subnet group.

Returns:

  • (Array<String>)


3807
3808
3809
3810
3811
3812
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 3807

class ModifyDBSubnetGroupMessage < Struct.new(
  :db_subnet_group_name,
  :db_subnet_group_description,
  :subnet_ids)
  include Aws::Structure
end