<commit_before>---
layout: "aws"
page_title: "AWS: aws_subnet"
sidebar_current: "docs-aws-resource-elasticache-cluster"
description: |-
  Provides an VPC subnet resource.
---

# aws\_elasticache\_cluster

Provides an ElastiCache Cluster resource.

## Example Usage

```
resource "aws_elasticache_cluster" "bar" {
    cluster_id = "cluster-example"
    engine = "memcached"
    node_type = "cache.m1.small"
    num_cache_nodes = 1
    parameter_group_name = "default.memcached1.4"
}
```

## Argument Reference

The following arguments are supported:

* `cluster_id` – (Required) Group identifier. This parameter is stored as a
lowercase string
<commit_msg>Fix page title for aws_elasticache_cluster<commit_after>---
layout: "aws"
page_title: "AWS: aws_elasticache_cluster"
sidebar_current: "docs-aws-resource-elasticache-cluster"
description: |-
  Provides an VPC subnet resource.
---

# aws\_elasticache\_cluster

Provides an ElastiCache Cluster resource.

## Example Usage

```
resource "aws_elasticache_cluster" "bar" {
    cluster_id = "cluster-example"
    engine = "memcached"
    node_type = "cache.m1.small"
    num_cache_nodes = 1
    parameter_group_name = "default.memcached1.4"
}
```

## Argument Reference

The following arguments are supported:

* `cluster_id` – (Required) Group identifier. This parameter is stored as a
lowercase string

{'fraction_non_alphanumeric': 0.10798816568047337, 'fraction_numerical': 0.005917159763313609, 'mean_word_length': 4.522448979591837, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '955913', 'n_tokens_mistral': 448, 'n_tokens_neox': 432, 'n_words': 114}