Skip to main content

events

Creates, updates, deletes, gets or lists an events resource.

Overview

Nameevents
TypeResource
Idaws.memorydb.events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
datestring (date-time)The date and time when the event occurred.
messagestringThe text of the event.
source_namestringThe name for the source of the event. For example, if the event occurred at the cluster level, the identifier would be the name of the cluster.
source_typestringSpecifies the origin of this event - a cluster, a parameter group, a security group, etc. (node, parameter-group, subnet-group, cluster, user, acl)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_eventsselectregionReturns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, or parameter group by providing the name as a parameter. By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, or parameter group by providing the name as a parameter. By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.

SELECT
date,
message,
source_name,
source_type
FROM aws.memorydb.events
WHERE region = '{{ region }}' -- required
;