Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Trigger = Trigger' {}
- newTrigger :: Trigger
- trigger_workflowName :: Lens' Trigger (Maybe Text)
- trigger_state :: Lens' Trigger (Maybe TriggerState)
- trigger_actions :: Lens' Trigger (Maybe [Action])
- trigger_schedule :: Lens' Trigger (Maybe Text)
- trigger_predicate :: Lens' Trigger (Maybe Predicate)
- trigger_name :: Lens' Trigger (Maybe Text)
- trigger_id :: Lens' Trigger (Maybe Text)
- trigger_type :: Lens' Trigger (Maybe TriggerType)
- trigger_eventBatchingCondition :: Lens' Trigger (Maybe EventBatchingCondition)
- trigger_description :: Lens' Trigger (Maybe Text)
Documentation
Information about a specific trigger.
See: newTrigger
smart constructor.
Trigger' | |
|
Instances
newTrigger :: Trigger Source #
Create a value of Trigger
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:workflowName:Trigger'
, trigger_workflowName
- The name of the workflow associated with the trigger.
$sel:state:Trigger'
, trigger_state
- The current state of the trigger.
$sel:actions:Trigger'
, trigger_actions
- The actions initiated by this trigger.
$sel:schedule:Trigger'
, trigger_schedule
- A cron
expression used to specify the schedule (see
Time-Based Schedules for Jobs and Crawlers.
For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
$sel:predicate:Trigger'
, trigger_predicate
- The predicate of this trigger, which defines when it will fire.
$sel:name:Trigger'
, trigger_name
- The name of the trigger.
$sel:id:Trigger'
, trigger_id
- Reserved for future use.
$sel:type':Trigger'
, trigger_type
- The type of trigger that this is.
$sel:eventBatchingCondition:Trigger'
, trigger_eventBatchingCondition
- Batch condition that must be met (specified number of events received or
batch time window expired) before EventBridge event trigger fires.
$sel:description:Trigger'
, trigger_description
- A description of this trigger.
trigger_workflowName :: Lens' Trigger (Maybe Text) Source #
The name of the workflow associated with the trigger.
trigger_state :: Lens' Trigger (Maybe TriggerState) Source #
The current state of the trigger.
trigger_schedule :: Lens' Trigger (Maybe Text) Source #
A cron
expression used to specify the schedule (see
Time-Based Schedules for Jobs and Crawlers.
For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
trigger_predicate :: Lens' Trigger (Maybe Predicate) Source #
The predicate of this trigger, which defines when it will fire.
trigger_type :: Lens' Trigger (Maybe TriggerType) Source #
The type of trigger that this is.
trigger_eventBatchingCondition :: Lens' Trigger (Maybe EventBatchingCondition) Source #
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.