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

Class: Aws::ElastiCache::Types::CreateSnapshotMessage

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

{
  replication_group_id: "String",
  cache_cluster_id: "String",
  snapshot_name: "String", # required
}

Represents the input of a CreateSnapshot operation.

Instance Attribute Summary collapse

Instance Attribute Details

#cache_cluster_idString

The identifier of an existing cache cluster. The snapshot is created from this cache cluster.

Returns:

  • (String)


1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 1940

class CreateSnapshotMessage < Struct.new(
  :replication_group_id,
  :cache_cluster_id,
  :snapshot_name)
  include Aws::Structure
end

#replication_group_idString

The identifier of an existing replication group. The snapshot is created from this replication group.

Returns:

  • (String)


1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 1940

class CreateSnapshotMessage < Struct.new(
  :replication_group_id,
  :cache_cluster_id,
  :snapshot_name)
  include Aws::Structure
end

#snapshot_nameString

A name for the snapshot being created.

Returns:

  • (String)


1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 1940

class CreateSnapshotMessage < Struct.new(
  :replication_group_id,
  :cache_cluster_id,
  :snapshot_name)
  include Aws::Structure
end