Skip to main content

service_level_objective_exclusion_windows

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

Overview

Nameservice_level_objective_exclusion_windows
TypeResource
Idaws.application_signals.service_level_objective_exclusion_windows

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
reasonstringA description explaining why this time period should be excluded from SLO calculations.
recurrence_ruleobjectThe recurrence rule for the SLO time window exclusion. Supports both cron and rate expressions.
start_timestring (date-time)The start of the SLO time window exclusion. Defaults to current time if not specified.
windowobjectThe SLO time window exclusion .

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_service_level_objective_exclusion_windowsselectid, regionMaxResults, NextTokenRetrieves all exclusion windows configured for a specific SLO.

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
idstringThe ID of the SLO to list exclusion windows for.
regionstringAWS region (default: us-east-1)
MaxResultsintegerThe maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.
NextTokenstringInclude this value, if it was returned by the previous operation, to get the next set of service level objectives.

SELECT examples

Retrieves all exclusion windows configured for a specific SLO.

SELECT
reason,
recurrence_rule,
start_time,
window
FROM aws.application_signals.service_level_objective_exclusion_windows
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
;