@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:56.065Z")
public interface CfnTriggerProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.glue.*; Object arguments_; Object tags; CfnTriggerProps cfnTriggerProps = CfnTriggerProps.builder() .actions(List.of(ActionProperty.builder() .arguments(arguments_) .crawlerName("crawlerName") .jobName("jobName") .notificationProperty(NotificationPropertyProperty.builder() .notifyDelayAfter(123) .build()) .securityConfiguration("securityConfiguration") .timeout(123) .build())) .type("type") // the properties below are optional .description("description") .eventBatchingCondition(EventBatchingConditionProperty.builder() .batchSize(123) // the properties below are optional .batchWindow(123) .build()) .name("name") .predicate(PredicateProperty.builder() .conditions(List.of(ConditionProperty.builder() .crawlerName("crawlerName") .crawlState("crawlState") .jobName("jobName") .logicalOperator("logicalOperator") .state("state") .build())) .logical("logical") .build()) .schedule("schedule") .startOnCreation(false) .tags(tags) .workflowName("workflowName") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTriggerProps.Builder
A builder for
CfnTriggerProps |
static class |
CfnTriggerProps.Jsii$Proxy
An implementation for
CfnTriggerProps |
Modifier and Type | Method and Description |
---|---|
static CfnTriggerProps.Builder |
builder() |
java.lang.Object |
getActions()
The actions initiated by this trigger.
|
default java.lang.String |
getDescription()
A description of this trigger.
|
default java.lang.Object |
getEventBatchingCondition()
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
|
default java.lang.String |
getName()
The name of the trigger.
|
default java.lang.Object |
getPredicate()
The predicate of this trigger, which defines when it will fire.
|
default java.lang.String |
getSchedule()
A `cron` expression used to specify the schedule.
|
default java.lang.Object |
getStartOnCreation()
Set to true to start `SCHEDULED` and `CONDITIONAL` triggers when created.
|
default java.lang.Object |
getTags()
The tags to use with this trigger.
|
java.lang.String |
getType()
The type of trigger that this is.
|
default java.lang.String |
getWorkflowName()
The name of the workflow associated with the trigger.
|
java.lang.Object getActions()
java.lang.String getType()
default java.lang.String getDescription()
default java.lang.Object getEventBatchingCondition()
default java.lang.String getName()
default java.lang.Object getPredicate()
default java.lang.String getSchedule()
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 * * ? *)
.
default java.lang.Object getStartOnCreation()
True is not supported for ON_DEMAND
triggers.
default java.lang.Object getTags()
default java.lang.String getWorkflowName()
static CfnTriggerProps.Builder builder()
CfnTriggerProps.Builder
of CfnTriggerProps