Class CfnTriggerProps
Properties for defining a CfnTrigger
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTriggerProps : Object, ICfnTriggerProps
Syntax (vb)
Public Class CfnTriggerProps
Inherits Object
Implements ICfnTriggerProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html
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;
var arguments_;
var tags;
var cfnTriggerProps = new CfnTriggerProps {
Actions = new [] { new ActionProperty {
Arguments = arguments_,
CrawlerName = "crawlerName",
JobName = "jobName",
NotificationProperty = new NotificationPropertyProperty {
NotifyDelayAfter = 123
},
SecurityConfiguration = "securityConfiguration",
Timeout = 123
} },
Type = "type",
// the properties below are optional
Description = "description",
EventBatchingCondition = new EventBatchingConditionProperty {
BatchSize = 123,
// the properties below are optional
BatchWindow = 123
},
Name = "name",
Predicate = new PredicateProperty {
Conditions = new [] { new ConditionProperty {
CrawlerName = "crawlerName",
CrawlState = "crawlState",
JobName = "jobName",
LogicalOperator = "logicalOperator",
State = "state"
} },
Logical = "logical"
},
Schedule = "schedule",
StartOnCreation = false,
Tags = tags,
WorkflowName = "workflowName"
};
Synopsis
Constructors
CfnTriggerProps() |
Properties
Actions | The actions initiated by this trigger. |
Description | A description of this trigger. |
EventBatchingCondition | Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. |
Name | The name of the trigger. |
Predicate | The predicate of this trigger, which defines when it will fire. |
Schedule | A |
StartOnCreation | Set to true to start |
Tags | The tags to use with this trigger. |
Type | The type of trigger that this is. |
WorkflowName | The name of the workflow associated with the trigger. |
Constructors
CfnTriggerProps()
public CfnTriggerProps()
Properties
Actions
The actions initiated by this trigger.
public object Actions { get; set; }
Property Value
System.Object
Remarks
Description
A description of this trigger.
public string Description { get; set; }
Property Value
System.String
Remarks
EventBatchingCondition
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
public object EventBatchingCondition { get; set; }
Property Value
System.Object
Remarks
Name
The name of the trigger.
public string Name { get; set; }
Property Value
System.String
Remarks
Predicate
The predicate of this trigger, which defines when it will fire.
public object Predicate { get; set; }
Property Value
System.Object
Remarks
Schedule
A cron
expression used to specify the schedule.
public string Schedule { get; set; }
Property Value
System.String
Remarks
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 * * ? *)
.
StartOnCreation
Set to true to start SCHEDULED
and CONDITIONAL
triggers when created.
public object StartOnCreation { get; set; }
Property Value
System.Object
Remarks
True is not supported for ON_DEMAND
triggers.
Tags
The tags to use with this trigger.
public object Tags { get; set; }
Property Value
System.Object
Remarks
Type
The type of trigger that this is.
public string Type { get; set; }
Property Value
System.String
Remarks
WorkflowName
The name of the workflow associated with the trigger.
public string WorkflowName { get; set; }
Property Value
System.String