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

Class: Aws::ElastiCache::Types::ModifyCacheSubnetGroupMessage

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

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

Represents the input of a ModifyCacheSubnetGroup operation.

Instance Attribute Summary collapse

Instance Attribute Details

#cache_subnet_group_descriptionString

A description of the cache subnet group.

Returns:

  • (String)


3811
3812
3813
3814
3815
3816
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 3811

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

#cache_subnet_group_nameString

The 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)


3811
3812
3813
3814
3815
3816
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 3811

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

#subnet_idsArray<String>

The EC2 subnet IDs for the cache subnet group.

Returns:

  • (Array<String>)


3811
3812
3813
3814
3815
3816
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 3811

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