TriggerArgs class

The set of arguments for Trigger. The set of arguments for Trigger.

Constructors

TriggerArgs({required Input<List<TriggerAction>> actions, Input<String?>? description, Input<bool?>? enabled, Input<List<TriggerEventBatchingCondition>?>? eventBatchingConditions, Input<String?>? name, Input<TriggerPredicate?>? predicate, Input<String?>? region, Input<String?>? schedule, Input<bool?>? startOnCreation, Input<Map<String, String>?>? tags, required Input<String> type, Input<String?>? workflowName})
Creates a new TriggerArgs. actions List of actions initiated by this trigger when it fires. See Actions Below. 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. 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. 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.
const
TriggerArgs.fromMap(Map<String, dynamic> map)
factory

Properties

actions → Input<List<TriggerAction>>
List of actions initiated by this trigger when it fires. See Actions Below.
final
description → Input<String?>?
A description of the new trigger.
final
enabled → Input<bool?>?
Start the trigger. Defaults to true.
final
eventBatchingConditions → Input<List<TriggerEventBatchingCondition>?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
The name of the trigger.
final
predicate → Input<TriggerPredicate?>?
A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. See Predicate Below.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schedule → Input<String?>?
A cron expression used to specify the schedule. Time-Based Schedules for Jobs and Crawlers
final
startOnCreation → Input<bool?>?
Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
final
tags → Input<Map<String, String>?>?
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.
final
type → Input<String>
The type of trigger. Valid values are CONDITIONAL, EVENT, ON_DEMAND, and SCHEDULED.
final
workflowName → Input<String?>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited