Class: Aws::RDS::Types::CreateDBSecurityGroupMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb

Overview

Note:

When making an API call, you may pass CreateDBSecurityGroupMessage data as a hash:

{
  db_security_group_name: "String", # required
  db_security_group_description: "String", # required
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#db_security_group_descriptionString

The description for the DB security group.

Returns:

  • (String)


4121
4122
4123
4124
4125
4126
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 4121

class CreateDBSecurityGroupMessage < Struct.new(
  :db_security_group_name,
  :db_security_group_description,
  :tags)
  include Aws::Structure
end

#db_security_group_nameString

The name for the DB security group. This value is stored as a lowercase string.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Can't end with a hyphen or contain two consecutive hyphens

  • Must not be "Default"

Example: mysecuritygroup

Returns:

  • (String)


4121
4122
4123
4124
4125
4126
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 4121

class CreateDBSecurityGroupMessage < Struct.new(
  :db_security_group_name,
  :db_security_group_description,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Tags to assign to the DB security group.

Returns:



4121
4122
4123
4124
4125
4126
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 4121

class CreateDBSecurityGroupMessage < Struct.new(
  :db_security_group_name,
  :db_security_group_description,
  :tags)
  include Aws::Structure
end