events
Creates, updates, deletes, gets or lists an events resource.
Overview
| Name | events |
| Type | Resource |
| Id | aws.memorydb.events |
Fields
The following fields are returned by SELECT queries:
- describe_events
| Name | Datatype | Description |
|---|---|---|
date | string (date-time) | The date and time when the event occurred. |
message | string | The text of the event. |
source_name | string | The 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_type | string | Specifies 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_events | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_events
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
;