interface CfnTriggerMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnTriggerMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnTriggerMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnTriggerMixinProps |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnTriggerMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnTriggerMixinProps |
Properties for CfnTriggerPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
declare const arguments_: any;
declare const tags: any;
const cfnTriggerMixinProps: glue_mixins.CfnTriggerMixinProps = {
actions: [{
arguments: arguments_,
crawlerName: 'crawlerName',
jobName: 'jobName',
notificationProperty: {
notifyDelayAfter: 123,
},
securityConfiguration: 'securityConfiguration',
timeout: 123,
}],
description: 'description',
eventBatchingCondition: {
batchSize: 123,
batchWindow: 123,
},
name: 'name',
predicate: {
conditions: [{
crawlerName: 'crawlerName',
crawlState: 'crawlState',
jobName: 'jobName',
logicalOperator: 'logicalOperator',
state: 'state',
}],
logical: 'logical',
},
schedule: 'schedule',
startOnCreation: false,
tags: tags,
type: 'type',
workflowName: 'workflowName',
};
Properties
| Name | Type | Description |
|---|---|---|
| actions? | IResolvable | (IResolvable | Action)[] | The actions initiated by this trigger. |
| description? | string | A description of this trigger. |
| event | IResolvable | Event | Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. |
| name? | string | The name of the trigger. |
| predicate? | IResolvable | Predicate | The predicate of this trigger, which defines when it will fire. |
| schedule? | string | A cron expression used to specify the schedule. |
| start | boolean | IResolvable | Set to true to start SCHEDULED and CONDITIONAL triggers when created. |
| tags? | any | The tags to use with this trigger. |
| type? | string | The type of trigger that this is. |
| workflow | string | The name of the workflow associated with the trigger. |
actions?
Type:
IResolvable | (IResolvable | Action)[]
(optional)
The actions initiated by this trigger.
description?
Type:
string
(optional)
A description of this trigger.
eventBatchingCondition?
Type:
IResolvable | Event
(optional)
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
name?
Type:
string
(optional)
The name of the trigger.
predicate?
Type:
IResolvable | Predicate
(optional)
The predicate of this trigger, which defines when it will fire.
schedule?
Type:
string
(optional)
A cron expression used to specify the schedule.
For more information, see Time-Based Schedules for Jobs and Crawlers in the AWS Glue Developer Guide . For example, to run something every day at 12:15 UTC, specify cron(15 12 * * ? *) .
startOnCreation?
Type:
boolean | IResolvable
(optional)
Set to true to start SCHEDULED and CONDITIONAL triggers when created.
True is not supported for ON_DEMAND triggers.
tags?
Type:
any
(optional)
The tags to use with this trigger.
type?
Type:
string
(optional)
The type of trigger that this is.
workflowName?
Type:
string
(optional)
The name of the workflow associated with the trigger.

.NET
Go
Java
Python
TypeScript