AWS::Glue::TriggerThe `AWS::Glue::Trigger` resource specifies triggers that run AWS Glue jobs. For more information, see [Triggering Jobs in AWS Glue](https://docs.aws.amazon.com/glue/latest/dg/trigger-job.html) and [Trigger Structure](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-trigger.html#aws-glue-api-jobs-trigger-Trigger) in the *AWS Glue Developer Guide* .
import { CfnTrigger } from 'aws-cdk-lib/aws-glue';Or use the module namespace:
import * as glue from 'aws-cdk-lib/aws-glue';
// glue.CfnTriggerConfiguration passed to the constructor as CfnTriggerProps.
actionsRequiredIResolvable | IResolvable | ActionProperty[]The actions initiated by this trigger.
typeRequiredstringThe type of trigger that this is.
descriptionOptionalstringA description of this trigger.
eventBatchingConditionOptionalIResolvable | EventBatchingConditionPropertyBatch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
nameOptionalstringThe name of the trigger.
predicateOptionalIResolvable | PredicatePropertyThe predicate of this trigger, which defines when it will fire.
scheduleOptionalstringA `cron` expression used to specify the schedule. For more information, see [Time-Based Schedules for Jobs and Crawlers](https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html) in the *AWS Glue Developer Guide* . For example, to run something every day at 12:15 UTC, specify `cron(15 12 * * ? *)` .
startOnCreationOptionalboolean | IResolvableSet to true to start `SCHEDULED` and `CONDITIONAL` triggers when created. True is not supported for `ON_DEMAND` triggers.
tagsOptionalanyThe tags to use with this trigger.
workflowNameOptionalstringThe name of the workflow associated with the trigger.
This 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-glueAWS::Glue::Trigger