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 cluster. The snapshot is created from this cluster.

Returns:

  • (String)


2094
2095
2096
2097
2098
2099
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2094

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)


2094
2095
2096
2097
2098
2099
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2094

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)


2094
2095
2096
2097
2098
2099
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2094

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