Interface CfnTriggerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTriggerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:37.581Z")
@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();
- See Also:
-
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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTrigger.ActionProperty>- See Also:
-
getType
The type of trigger that this is.- See Also:
-
getDescription
A description of this trigger.- See Also:
-
getEventBatchingCondition
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.Returns union: either
IResolvableorCfnTrigger.EventBatchingConditionProperty- See Also:
-
getName
The name of the trigger.- See Also:
-
getPredicate
The predicate of this trigger, which defines when it will fire.Returns union: either
IResolvableorCfnTrigger.PredicateProperty- See Also:
-
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 * * ? *).- See Also:
-
getStartOnCreation
Set to true to startSCHEDULEDandCONDITIONALtriggers when created.True is not supported for
ON_DEMANDtriggers.Returns union: either
BooleanorIResolvable- See Also:
-
getTags
The tags to use with this trigger.- See Also:
-
getWorkflowName
The name of the workflow associated with the trigger.- See Also:
-
builder
- Returns:
- a
CfnTriggerProps.BuilderofCfnTriggerProps
-