events
Creates, updates, deletes, gets or lists an events resource.
Overview
| Name | events |
| Type | Resource |
| Id | aws.devops_guru.events |
Fields
The following fields are returned by SELECT queries:
- list_events
| Name | Datatype | Description |
|---|---|---|
data_source | string | The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found the event. (AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY) |
event_class | string | The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change. (INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE) |
event_source | string | The Amazon Web Services source that emitted the event. (pattern: <code>^[a-z]+[a-z0-9]*.amazonaws.com|aws.events$</code>) |
id | string | The ID of the event. |
name | string | The name of the event. |
resource_collection | object | A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. |
resources | array | An EventResource object that contains information about the resource that emitted the event. |
time | string (date-time) | A Timestamp that specifies the time the event occurred. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_events | select | region | Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to specify which events are returned. |
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
- list_events
Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to specify which events are returned.
SELECT
data_source,
event_class,
event_source,
id,
name,
resource_collection,
resources,
time
FROM aws.devops_guru.events
WHERE region = '{{ region }}' -- required
;