Show / Hide Table of Contents

Interface IConditionalTriggerOptions

(experimental) Properties for configuring a Condition (Predicate) based Glue Trigger.

Inherited Members
IDailyScheduleTriggerOptions.StartOnCreation
ITriggerOptions.Actions
ITriggerOptions.Description
ITriggerOptions.Name
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public interface IConditionalTriggerOptions : IDailyScheduleTriggerOptions, ITriggerOptions
Syntax (vb)
Public Interface IConditionalTriggerOptions Inherits IDailyScheduleTriggerOptions, ITriggerOptions
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Glue.Alpha;
             using Amazon.CDK;
             using Amazon.CDK.AWS.Glue;

             CfnCrawler cfnCrawler;
             Job job;
             SecurityConfiguration securityConfiguration;

             var conditionalTriggerOptions = new ConditionalTriggerOptions {
                 Actions = new [] { new Action {
                     Arguments = new Dictionary<string, string> {
                         { "argumentsKey", "arguments" }
                     },
                     Crawler = cfnCrawler,
                     Job = job,
                     SecurityConfiguration = securityConfiguration,
                     Timeout = Duration.Minutes(30)
                 } },
                 Predicate = new Predicate {
                     Conditions = new [] { new Condition {
                         CrawlerName = "crawlerName",
                         CrawlState = CrawlerState.RUNNING,
                         Job = job,
                         LogicalOperator = ConditionLogicalOperator.EQUALS,
                         State = JobState.SUCCEEDED
                     } },
                     Logical = PredicateLogical.AND
                 },

                 // the properties below are optional
                 Description = "description",
                 Name = "name",
                 StartOnCreation = false
             };

Synopsis

Properties

Predicate

(experimental) The predicate for the trigger.

Properties

Predicate

(experimental) The predicate for the trigger.

IPredicate Predicate { get; }
Property Value

IPredicate

Remarks

Stability: Experimental

Back to top Generated by DocFX