aws::elasticache-cluster

Creates a cache cluster.

Example

aws::elasticache-cluster cache-cluster-example
    az-mode: "cross-az"
    id: "cache-cluster-ex-1"
    cache-node-type: "cache.t2.micro"
    cache-param-group: $(aws::elasticache-parameter-group cache-param-group-group-cache-cluster-example)
    cache-subnet-group: $(aws::elasticache-subnet-group cache-subnet-group-cache-cluster-example)
    engine: "memcached"
    engine-version: "1.5.10"
    num-cache-nodes: 1
    preferred-availability-zones: [
        "us-east-2a"
    ]
    port: 11211
    preferred-maintenance-window: "thu:01:00-thu:02:00"
    security-groups: [
        $(aws::security-group security-group-cache-cluster-example-1)
    ]
    account-number: "242040583208"

    tags: {
        Name: "cache-cluster-example"
    }
end

Attributes

Attribute Description
az-mode The Az mode of the cluster. Valid value is single-az or cross-az Valid values are single-az or cross-az. (Required)
id The name of the cache cluster. (Required)
cache-node-type The type of the cache cluster nodes. (Required)
cache-param-group The cache parameter group to be associated. (Required)
cache-security-group-names list The list of cache security groups to be associated.
cache-subnet-group The cache subnet group to be associated. (Required)
engine The name of the engine used to create the cluster. (Required)
engine-version The version of the engine used to create the cluster. (Required)
notification-topic The sns topic to be associated with the cluster.
num-cache-nodes The number of nodes to be created. (Required)
port The port to be used by the cache cluster. (Required)
preferred-maintenance-window The preferred maintenance window to be used by the cache cluster. (Required)
replication-group-id The replication group id to be used for redis cache cluster.
security-groups set The list of ec2 security groups to be associated.
snapshot-arns list A list of snapshot arn’s to be used for redis cache cluster.
snapshot-retention-limit The snapshot retention limit to be used for redis cache cluster.
snapshot-window The snapshot window to be used for redis cache cluster.
tags map The tags for the cache cluster.
preferred-availability-zones list The preferred availability zone for the cluster. (Required)
apply-immediately A flag that updates and restarts node immediately rather than waiting for the maintenance window. Defaults to true.

Outputs

Attribute Description
arn Arn of the cluster.
status Status of the cluster.
nodes list List of nodes under this cluster.
preferred-availability-zone The preferred availability zone of the cluster.