Interface CfnTriggerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTriggerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.522Z")
@Stability(Stable)
public interface CfnTriggerProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTrigger.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTriggerPropsstatic final classAn implementation forCfnTriggerProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTriggerProps.Builderbuilder()The actions initiated by this trigger.default StringA description of this trigger.default ObjectBatch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.default StringgetName()The name of the trigger.default ObjectThe predicate of this trigger, which defines when it will fire.default StringAcronexpression used to specify the schedule.default ObjectSet to true to startSCHEDULEDandCONDITIONALtriggers when created.default ObjectgetTags()The tags to use with this trigger.getType()The type of trigger that this is.default StringThe name of the workflow associated with the trigger.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
The actions initiated by this trigger. -
getType
The type of trigger that this is. -
getDescription
A description of this trigger. -
getEventBatchingCondition
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. -
getName
The name of the trigger. -
getPredicate
The predicate of this trigger, which defines when it will fire. -
getSchedule
Acronexpression 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 * * ? *). -
getStartOnCreation
Set to true to startSCHEDULEDandCONDITIONALtriggers when created.True is not supported for
ON_DEMANDtriggers. -
getTags
The tags to use with this trigger. -
getWorkflowName
The name of the workflow associated with the trigger. -
builder
- Returns:
- a
CfnTriggerProps.BuilderofCfnTriggerProps
-