---
type: resource-type
title: CacheCluster
description: aws resource type AWS::ElastiCache::CacheCluster
name: CacheCluster
lexicon: aws
resource_type: AWS::ElastiCache::CacheCluster
---
`AWS::ElastiCache::CacheCluster`, a resource type of the aws lexicon.

## Properties

- `CacheNodeType` (`string`, required): The compute and memory capacity of the nodes in the node group (shard).
- `Engine` (`string`, required): The name of the cache engine to be used for this cluster.
- `NumCacheNodes` (`number`, required): The number of cache nodes that the cache cluster should have.
- `AutoMinorVersionUpgrade` (`boolean`, optional): If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign.
- `AZMode` (`string`, optional): Specifies whether the nodes in this Memcached cluster are created in a single Availability Zone or created across multiple Availability Zones in the cluster's region.
- `CacheParameterGroupName` (`string`, optional): The name of the parameter group to associate with this cluster.
- `CacheSecurityGroupNames` (`string[]`, optional): A list of security group names to associate with this cluster.
- `CacheSubnetGroupName` (`string`, optional): The name of the subnet group to be used for the cluster.
- `ClusterName` (`string`, optional): A name for the cache cluster.
- `ConfigurationEndpoint` (`CacheCluster_Endpoint`, optional): Specifies the ConfigurationEndpoint address and port
- `EngineVersion` (`string`, optional): The version number of the cache engine to be used for this cluster
- `IpDiscovery` (`string`, optional): The Ip Discovery parameter for cachecluster.
- `LogDeliveryConfigurations` (`CacheCluster_LogDeliveryConfigurationRequest[]`, optional): Specifies the destination, format and type of the logs
- `NetworkType` (`string`, optional): The network type parameter for cachecluster.
- `NotificationTopicArn` (`string`, optional): The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- `Port` (`number`, optional): The port number on which each of the cache nodes accepts connections.
- `PreferredAvailabilityZone` (`string`, optional): The EC2 Availability Zone in which the cluster is created.
- `PreferredAvailabilityZones` (`string[]`, optional): A list of the Availability Zones in which cache nodes are created. The order of the zones in the list is not important.
- `PreferredMaintenanceWindow` (`string`, optional): Specifies the weekly time range during which maintenance on the cluster is performed.
- `RedisEndpoint` (`CacheCluster_Endpoint`, optional): Specifies the RedisEndPoint address and port
- `SnapshotArns` (`string[]`, optional): A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3.
- `SnapshotName` (`string`, optional): The name of a Redis snapshot from which to restore data into the new node group (shard).
- `SnapshotRetentionLimit` (`number`, optional): The number of days for which ElastiCache retains automatic snapshots before deleting them.
- `SnapshotWindow` (`string`, optional): The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
- `Tags` (`CacheCluster_Tag[]`, optional): A list of tags to be added to this resource.
- `TransitEncryptionEnabled` (`boolean`, optional): A flag that enables in-transit encryption when set to true. You cannot modify the value of TransitEncryptionEnabled after the cluster is created
- `VpcSecurityGroupIds` (`string[]`, optional): One or more VPC security groups associated with the cluster.

## Attributes

- `ConfigurationEndpoint`
- `ConfigurationEndpoint.Address`
- `ConfigurationEndpoint.Port`
- `RedisEndpoint`
- `RedisEndpoint.Address`
- `RedisEndpoint.Port`
