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

Class: Aws::Redshift::Types::CreateClusterSecurityGroupMessage

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

Overview

Note:

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

{
  cluster_security_group_name: "String", # required
  description: "String", # required
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_security_group_nameString

The name for the security group. Amazon Redshift stores the value as a lowercase string.

Constraints:

  • Must contain no more than 255 alphanumeric characters or hyphens.

  • Must not be "Default".

  • Must be unique for all security groups that are created by your AWS account.

Example: examplesecuritygroup

Returns:

  • (String)


1484
1485
1486
1487
1488
1489
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1484

class CreateClusterSecurityGroupMessage < Struct.new(
  :cluster_security_group_name,
  :description,
  :tags)
  include Aws::Structure
end

#descriptionString

A description for the security group.

Returns:

  • (String)


1484
1485
1486
1487
1488
1489
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1484

class CreateClusterSecurityGroupMessage < Struct.new(
  :cluster_security_group_name,
  :description,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tag instances.

Returns:



1484
1485
1486
1487
1488
1489
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 1484

class CreateClusterSecurityGroupMessage < Struct.new(
  :cluster_security_group_name,
  :description,
  :tags)
  include Aws::Structure
end