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

Class: Aws::ElastiCache::Types::CreateCacheSubnetGroupMessage

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 CreateCacheSubnetGroupMessage data as a hash:

{
  cache_subnet_group_name: "String", # required
  cache_subnet_group_description: "String", # required
  subnet_ids: ["String"], # required
}

Represents the input of a CreateCacheSubnetGroup operation.

Instance Attribute Summary collapse

Instance Attribute Details

#cache_subnet_group_descriptionString

A description for the cache subnet group.

Returns:

  • (String)


1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 1444

class CreateCacheSubnetGroupMessage < Struct.new(
  :cache_subnet_group_name,
  :cache_subnet_group_description,
  :subnet_ids)
  include Aws::Structure
end

#cache_subnet_group_nameString

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

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup

Returns:

  • (String)


1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 1444

class CreateCacheSubnetGroupMessage < Struct.new(
  :cache_subnet_group_name,
  :cache_subnet_group_description,
  :subnet_ids)
  include Aws::Structure
end

#subnet_idsArray<String>

A list of VPC subnet IDs for the cache subnet group.

Returns:

  • (Array<String>)


1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 1444

class CreateCacheSubnetGroupMessage < Struct.new(
  :cache_subnet_group_name,
  :cache_subnet_group_description,
  :subnet_ids)
  include Aws::Structure
end