Description
The Create ElastiCache Read-Replica action can be used to create a read-replica of an ElastiCache cluster. Later, it can (optionally) be deleted.
For example, at 8am, a read-replica can be created for development purposes, then 8 hours later, it can be deleted.
Settings
Please see Common Action Settings for a description of settings common to all action types.
Cluster ID
Indicates the ID of the new Cluster. Macros can be used in the cluster ID to include run-time data. See below.
Replication Group
The replication group in which to add the new read-replica cluster.
Availability Zone
Indicates the desired availability zone in which the new cluster will be created.
Delete the Cluster
Indicate whether the new cluster should be automatically deleted later. The running time of the cluster must also be specified if this is enabled.
Running Duration
Indicate the length of time the cluster should remain running before it is deleted. This value is only required if "Delete the Cluster" is enabled.
Macros
The following macros can be used to include some run-time information.
$(DATE)
Date of snapshot in year-month-day format
$(TIME)
Time of snapshot in 24-hour format
Macros are case-sensitive. For example, $(Time) is not valid. $(TIME) must be used.
Amazon Commands Used
The following Amazon AWS commands are used. The access key should have permission to execute all of them.
elasticache:CreateCacheCluster
elasticache:DeleteCacheCluster
elasticache:DescribeCacheClusters