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)


2964
2965
2966
2967
2968
2969
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 2964

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 alphanumeric characters

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

  • Must not be "Default"

Example: mysecuritygroup

Returns:

  • (String)


2964
2965
2966
2967
2968
2969
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 2964

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:



2964
2965
2966
2967
2968
2969
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 2964

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