Show / Hide Table of Contents

Class ScheduledTriggerOptions

(deprecated) Properties for configuring a scheduled Glue Trigger.

Inheritance
object
ScheduledTriggerOptions
Implements
IScheduledTriggerOptions
IStartableTriggerOptions
ITriggerOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public class ScheduledTriggerOptions : IScheduledTriggerOptions, IStartableTriggerOptions, ITriggerOptions
Syntax (vb)
Public Class ScheduledTriggerOptions Implements IScheduledTriggerOptions, IStartableTriggerOptions, ITriggerOptions
Remarks

Stability: Deprecated

ExampleMetadata: infused

Examples
using Amazon.CDK;
             using Amazon.CDK.AWS.IAM;
             Stack stack;
             IRole role;
             Code script;

             var job = new PySparkEtlJob(stack, "Job", new PySparkEtlJobProps { Role = role, Script = script });
             var workflow = new Workflow(stack, "Workflow");

             workflow.AddScheduledTrigger("WeeklyTrigger", new ScheduledTriggerOptions {
                 Actions = new [] { Action.Job(job) },
                 Schedule = TriggerSchedule.Weekly()
             });

Synopsis

Constructors

ScheduledTriggerOptions()

(deprecated) Properties for configuring a scheduled Glue Trigger.

Properties

Actions

(deprecated) The actions initiated by this trigger.

Description

(deprecated) A description for the trigger.

Name

(deprecated) A name for the trigger.

Schedule

(deprecated) The schedule on which this trigger fires.

StartOnCreation

(deprecated) Whether to start the trigger on creation or not.

Constructors

ScheduledTriggerOptions()

(deprecated) Properties for configuring a scheduled Glue Trigger.

public ScheduledTriggerOptions()
Remarks

Stability: Deprecated

ExampleMetadata: infused

Examples
using Amazon.CDK;
             using Amazon.CDK.AWS.IAM;
             Stack stack;
             IRole role;
             Code script;

             var job = new PySparkEtlJob(stack, "Job", new PySparkEtlJobProps { Role = role, Script = script });
             var workflow = new Workflow(stack, "Workflow");

             workflow.AddScheduledTrigger("WeeklyTrigger", new ScheduledTriggerOptions {
                 Actions = new [] { Action.Job(job) },
                 Schedule = TriggerSchedule.Weekly()
             });

Properties

Actions

(deprecated) The actions initiated by this trigger.

[Obsolete]
public Action[] Actions { get; set; }
Property Value

Action[]

Remarks

Stability: Deprecated

Description

(deprecated) A description for the trigger.

[Obsolete]
public string? Description { get; set; }
Property Value

string

Remarks

Default: - no description

Stability: Deprecated

Name

(deprecated) A name for the trigger.

[Obsolete]
public string? Name { get; set; }
Property Value

string

Remarks

Default: - no name is provided

Stability: Deprecated

Schedule

(deprecated) The schedule on which this trigger fires.

[Obsolete]
public TriggerSchedule Schedule { get; set; }
Property Value

TriggerSchedule

Remarks

Build one with {@link TriggerSchedule.daily}, {@link TriggerSchedule.weekly}, {@link TriggerSchedule.cron}, or {@link TriggerSchedule.expression}.

Stability: Deprecated

StartOnCreation

(deprecated) Whether to start the trigger on creation or not.

[Obsolete]
public bool? StartOnCreation { get; set; }
Property Value

bool?

Remarks

Default: - false

Stability: Deprecated

Implements

IScheduledTriggerOptions
IStartableTriggerOptions
ITriggerOptions
Back to top Generated by DocFX