Class: Aws::ElastiCache::Types::CreateCacheSecurityGroupMessage

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

Overview

Note:

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

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

Represents the input of a CreateCacheSecurityGroup operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cache_security_group_nameString

A name for the cache security group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".

Example: mysecuritygroup

Returns:

  • (String)


2108
2109
2110
2111
2112
2113
2114
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2108

class CreateCacheSecurityGroupMessage < Struct.new(
  :cache_security_group_name,
  :description,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the cache security group.

Returns:

  • (String)


2108
2109
2110
2111
2112
2113
2114
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2108

class CreateCacheSecurityGroupMessage < Struct.new(
  :cache_security_group_name,
  :description,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

Returns:



2108
2109
2110
2111
2112
2113
2114
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2108

class CreateCacheSecurityGroupMessage < Struct.new(
  :cache_security_group_name,
  :description,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end