interface ConditionalTriggerOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.ConditionalTriggerOptions |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#ConditionalTriggerOptions |
Java | software.amazon.awscdk.services.glue.alpha.ConditionalTriggerOptions |
Python | aws_cdk.aws_glue_alpha.ConditionalTriggerOptions |
TypeScript (source) | @aws-cdk/aws-glue-alpha ยป ConditionalTriggerOptions |
Implements
Trigger, Startable
Properties for configuring a Condition (Predicate) based Glue Trigger.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue_alpha from '@aws-cdk/aws-glue-alpha';
declare const action: glue_alpha.Action;
declare const condition: glue_alpha.Condition;
const conditionalTriggerOptions: glue_alpha.ConditionalTriggerOptions = {
actions: [action],
predicate: {
conditions: [condition],
logical: glue_alpha.PredicateLogical.AND,
},
// the properties below are optional
description: 'description',
name: 'name',
startOnCreation: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| actions | Action[] | The actions initiated by this trigger. |
| predicate | Predicate | The predicate for the trigger. |
| description? | string | A description for the trigger. |
| name? | string | A name for the trigger. |
| start | boolean | Whether to start the trigger on creation or not. |
actions
Type:
Action[]
The actions initiated by this trigger.
predicate
Type:
Predicate
The predicate for the trigger.
description?
Type:
string
(optional, default: no description)
A description for the trigger.
name?
Type:
string
(optional, default: no name is provided)
A name for the trigger.
startOnCreation?
Type:
boolean
(optional, default: false)
Whether to start the trigger on creation or not.

.NET
Go
Java
Python
TypeScript (