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

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)


3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3049

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

  • Cannot end with a hyphen or contain two consecutive hyphens

  • Must not be "Default"

Example: mysecuritygroup

Returns:

  • (String)


3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3049

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

#tagsArray<Types::Tag>

A list of tags.

Returns:



3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3049

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