Interface CfnTriggerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTriggerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:31.955Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTriggerProps
static final class
An implementation forCfnTriggerProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTriggerProps.Builder
builder()
The actions initiated by this trigger.default String
A description of this trigger.default Object
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.default String
getName()
The name of the trigger.default Object
The predicate of this trigger, which defines when it will fire.default String
Acron
expression used to specify the schedule.default Object
Set to true to startSCHEDULED
andCONDITIONAL
triggers when created.default Object
getTags()
The tags to use with this trigger.getType()
The type of trigger that this is.default String
The 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.- 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.- See Also:
-
getName
The name of the trigger.- See Also:
-
getPredicate
The predicate of this trigger, which defines when it will fire.- See Also:
-
getSchedule
Acron
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 * * ? *)
.- See Also:
-
getStartOnCreation
Set to true to startSCHEDULED
andCONDITIONAL
triggers when created.True is not supported for
ON_DEMAND
triggers.- 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.Builder
ofCfnTriggerProps
-