Interface ICfnTriggerProps
Properties for defining a CfnTrigger
.
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnTriggerProps
Syntax (vb)
Public Interface 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
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. |
Properties
Actions
The actions initiated by this trigger.
object Actions { get; }
Property Value
System.Object
Remarks
Description
A description of this trigger.
virtual string Description { get; }
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.
virtual object EventBatchingCondition { get; }
Property Value
System.Object
Remarks
Name
The name of the trigger.
virtual string Name { get; }
Property Value
System.String
Remarks
Predicate
The predicate of this trigger, which defines when it will fire.
virtual object Predicate { get; }
Property Value
System.Object
Remarks
Schedule
A cron
expression used to specify the schedule.
virtual string Schedule { get; }
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.
virtual object StartOnCreation { get; }
Property Value
System.Object
Remarks
True is not supported for ON_DEMAND
triggers.
Tags
The tags to use with this trigger.
virtual object Tags { get; }
Property Value
System.Object
Remarks
Type
The type of trigger that this is.
string Type { get; }
Property Value
System.String
Remarks
WorkflowName
The name of the workflow associated with the trigger.
virtual string WorkflowName { get; }
Property Value
System.String