@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.594Z") @Stability(value=Stable) public interface CfnTriggerProps extends software.amazon.jsii.JsiiSerializable
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")
.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() |
Object |
getActions()
The actions initiated by this trigger.
|
default String |
getDescription()
A description of this trigger.
|
default String |
getName()
The name of the trigger.
|
default Object |
getPredicate()
The predicate of this trigger, which defines when it will fire.
|
default String |
getSchedule()
A `cron` expression used to specify the schedule.
|
default Object |
getStartOnCreation()
Set to true to start `SCHEDULED` and `CONDITIONAL` triggers when created.
|
default Object |
getTags()
The tags to use with this trigger.
|
String |
getType()
The type of trigger that this is.
|
default String |
getWorkflowName()
The name of the workflow associated with the trigger.
|
@Stability(value=Stable) @NotNull Object getActions()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default Object getPredicate()
@Stability(value=Stable) @Nullable default 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 * * ? *) .
@Stability(value=Stable) @Nullable default Object getStartOnCreation()
True is not supported for ON_DEMAND triggers.
@Stability(value=Stable) @Nullable default Object getTags()
@Stability(value=Stable) @Nullable default String getWorkflowName()
@Stability(value=Stable) static CfnTriggerProps.Builder builder()
CfnTriggerProps.Builder of CfnTriggerPropsCopyright © 2022. All rights reserved.