Serverless cache events - Amazon ElastiCache
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Serverless cache events

ElastiCache logs events that relate to your serverless cache. This information includes the date and time of the event, the source name and source type of the event, and a description of the event. You can easily retrieve events from the log using the ElastiCache console, the Amazon CLI describe-events command, or the ElastiCache API action DescribeEvents.

You can choose to monitor, ingest, transform, and act on ElastiCache events using Amazon EventBridge. Learn more in the Amazon EventBridge https://docs.amazonaws.cn/eventbridge/latest/userguide/.

Viewing ElastiCache events (Console)

To view events using the ElastiCache console:

  1. Sign in to the Amazon Web Services Management Console and open the ElastiCache console at https://console.amazonaws.cn/elasticache/

  2. To see a list of all available events, in the navigation pane, choose Events.

  3. On the Events screen each row of the list represents one event and displays the event source, the event type, the GMT time of the event, and a description of the event. Using the Filter you can specify whether you want to see all events, or just events of a specific type in the event list.

Viewing ElastiCache events (Amazon CLI)

To generate a list of ElastiCache events using the Amazon CLI, use the command describe-events. You can use optional parameters to control the type of events listed, the time frame of the events listed, the maximum number of events to list, and more.

The following code lists up to 40 serverless cache events.

aws elasticache describe-events --source-type serverless-cache --max-items 40

The following code lists all events for serverless caches for the past 24 hours (1440 minutes).

aws elasticache describe-events --source-type serverless-cache --duration 1440

Serverless Events

This section documents the different types of events that you may receive for your serverless caches.

Serverless Cache Creation Events

Detail-Type Description Unit Source Message

Cache created

Cache arn

creation

serverless-cache

Cache <cache-name> is created and ready to use.

Cache creation failed

Cache arn

failure

serverless-cache

Failed to create cache <cache-name>. Insufficient free IP addresses to create VPC endpoint.

Cache creation failed

Cache arn

failure

serverless-cache

Failed to create cache <cache-name>. Invalid subnets provided in the request.

Cache creation failed

Cache arn

failure

serverless-cache

Failed to create cache <cache-name>. Quota limit reached for creating VPC endpoint.

Cache creation failed

Cache arn

failure

serverless-cache

Failed to create cache <cache-name>. You do not have permissions to create a VPC endpoint.

Serverless Cache Update Events

Detail-Type Resources list Category Source Message

Cache updated

Cache arn

configuration change

serverless-cache

SecurityGroups updated for the cache <cache-name>.

Cache updated

Cache arn

configuration change

serverless-cache

Tags updated for the cache <cache-name>.

Cache updated failed

Cache arn

configuration change

serverless-cache

An update to the cache <cache-name> failed. SecurityGroups update failed.

Cache updated failed

Cache arn

configuration change

serverless-cache

An update to the cache <cache-name> failed. SecurityGroups update failed because of insufficient permissions.

Cache updated failed

Cache arn

configuration change

serverless-cache

An update to the cache <cache-name> failed. SecurityGroups update failed because the SecurityGroups are invalid.

Serverless Cache Deletion Events

Detail-Type Resources list Category Source Message

Cache deleted

Cache arn

deletion

serverless-cache

Cache <cache-name> was deleted.

Serverless Cache Usage Limit Events

Detail-Type Description Unit Source Message

Cache updated

Cache arn

configuration change

serverless-cache

Limits updated for the cache <cache-name>.

Cache updated failed

Cache arn

failure

serverless-cache

A limit update to the cache <cache-name> failed because the cache was deleted.

Cache updated failed

Cache arn

failure

serverless-cache

A limit update to the cache <cache-name> failed due to invalid configuration.