TriggerState constructor
- Input<
List< ? actions,TriggerAction> ?> - Input<
String?> ? arn, - Input<
String?> ? description, - Input<
bool?> ? enabled, - Input<
List< ? eventBatchingConditions,TriggerEventBatchingCondition> ?> - Input<
String?> ? name, - Input<
TriggerPredicate?> ? predicate, - Input<
String?> ? region, - Input<
String?> ? schedule, - Input<
bool?> ? startOnCreation, - Input<
String?> ? state, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - Input<
String?> ? type, - Input<
String?> ? workflowName,
Creates a new TriggerState.
actions List of actions initiated by this trigger when it fires. See Actions Below.
arn ARN of Glue Trigger
description A description of the new trigger.
enabled Start the trigger. Defaults to true.
eventBatchingConditions Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.
name The name of the trigger.
predicate A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. See Predicate Below.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
schedule A cron expression used to specify the schedule. Time-Based Schedules for Jobs and Crawlers
startOnCreation Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
state The current state of the trigger.
tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
type The type of trigger. Valid values are CONDITIONAL, EVENT, ON_DEMAND, and SCHEDULED.
workflowName A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMAND or SCHEDULED type) and can contain multiple additional CONDITIONAL triggers.
Implementation
const TriggerState({
this.actions,
this.arn,
this.description,
this.enabled,
this.eventBatchingConditions,
this.name,
this.predicate,
this.region,
this.schedule,
this.startOnCreation,
this.state,
this.tags,
this.tagsAll,
this.type,
this.workflowName,
});