Class: Aws::RDS::Types::CreateDBSubnetGroupMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::RDS::Types::CreateDBSubnetGroupMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rds/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",
},
],
}
Instance Attribute Summary collapse
-
#db_subnet_group_description ⇒ String
The description for the DB subnet group.
-
#db_subnet_group_name ⇒ String
The name for the DB subnet group.
-
#subnet_ids ⇒ Array<String>
The EC2 Subnet IDs for the DB subnet group.
-
#tags ⇒ Array<Types::Tag>
A list of tags.
Instance Attribute Details
#db_subnet_group_description ⇒ String
The description for the DB subnet group.
3516 3517 3518 3519 3520 3521 3522 |
# File 'lib/aws-sdk-rds/types.rb', line 3516 class CreateDBSubnetGroupMessage < Struct.new( :db_subnet_group_name, :db_subnet_group_description, :subnet_ids, :tags) include Aws::Structure end |
#db_subnet_group_name ⇒ String
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`
3516 3517 3518 3519 3520 3521 3522 |
# File 'lib/aws-sdk-rds/types.rb', line 3516 class CreateDBSubnetGroupMessage < Struct.new( :db_subnet_group_name, :db_subnet_group_description, :subnet_ids, :tags) include Aws::Structure end |
#subnet_ids ⇒ Array<String>
The EC2 Subnet IDs for the DB subnet group.
3516 3517 3518 3519 3520 3521 3522 |
# File 'lib/aws-sdk-rds/types.rb', line 3516 class CreateDBSubnetGroupMessage < Struct.new( :db_subnet_group_name, :db_subnet_group_description, :subnet_ids, :tags) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tags. For more information, see [Tagging Amazon RDS Resources] in the *Amazon RDS User Guide.*
[1]: docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
3516 3517 3518 3519 3520 3521 3522 |
# File 'lib/aws-sdk-rds/types.rb', line 3516 class CreateDBSubnetGroupMessage < Struct.new( :db_subnet_group_name, :db_subnet_group_description, :subnet_ids, :tags) include Aws::Structure end |