Skip to main content

relational_database_events

Creates, updates, deletes, gets or lists a relational_database_events resource.

Overview

Namerelational_database_events
TypeResource
Idaws.lightsail.relational_database_events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The timestamp when the database event was created.
event_categoriesarrayThe category that the database event belongs to.
messagestringThe message of the database event.
resourcestringThe database that the database event relates to. (pattern: <code>\w[\w-]*\w</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_relational_database_eventsselectregionReturns a list of events for a specific database in Amazon Lightsail.

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 a list of events for a specific database in Amazon Lightsail.

SELECT
created_at,
event_categories,
message,
resource
FROM aws.lightsail.relational_database_events
WHERE region = '{{ region }}' -- required
;