Builder
Properties
An optional description for the scheduled query to help identify its purpose and functionality.
Configuration for where to deliver query results. Currently supports Amazon S3 destinations for storing query output.
The ARN of the IAM role that grants permissions to execute the query and deliver results to the specified destination. The role must have permissions to read from the specified log groups and write to the destination.
An array of log group names or ARNs to query. You can specify between 1 and 50 log groups. Log groups can be identified by name or full ARN.
The query language to use for the scheduled query. Valid values are LogsQL, PPL, and SQL.
The query string to execute. This is the same query syntax used in CloudWatch Logs Insights. Maximum length is 10,000 characters.
The end time for the scheduled query in Unix epoch format. The query will stop executing after this time.
A cron expression that defines when the scheduled query runs. The expression uses standard cron syntax and supports minute-level precision. Maximum length is 256 characters.
The start time for the scheduled query in Unix epoch format. The query will not execute before this time.
The time offset in seconds that defines the lookback period for the query. This determines how far back in time the query searches from the execution time.
The initial state of the scheduled query. Valid values are ENABLED and DISABLED. Default is ENABLED.
Functions
construct an aws.sdk.kotlin.services.cloudwatchlogs.model.DestinationConfiguration inside the given block