AWS::Logs::ScheduledQueryCreates a new Scheduled Query that allows you to define a Logs Insights query that will run on a schedule and configure actions to take with the query results.
import { CfnScheduledQuery } from 'aws-cdk-lib/aws-logs';Or use the module namespace:
import * as logs from 'aws-cdk-lib/aws-logs';
// logs.CfnScheduledQueryConfiguration passed to the constructor as CfnScheduledQueryProps.
executionRoleArnRequiredstringnameRequiredstringqueryLanguageRequiredstringqueryStringRequiredstringscheduleExpressionRequiredstringdescriptionOptionalstringdestinationConfigurationOptionalIResolvable | DestinationConfigurationPropertylogGroupIdentifiersOptionalstring[]scheduleEndTimeOptionalnumberscheduleStartTimeOptionalnumberstartTimeOffsetOptionalnumberstateOptionalstringtagsOptionalTagsItemsProperty[]timezoneOptionalstringThis L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-logsAWS::Logs::ScheduledQuery