public MyStack() { var example = new Aws.Glue.Trigger("example", new Aws.Glue.TriggerArgs { Actions = { new Aws.Glue.Inputs.TriggerActionArgs { JobName = aws_glue_job.Example1.Name, }, }, Predicate = new Aws.Glue.Inputs.TriggerPredicateArgs { Conditions = { new Aws.Glue.Inputs.TriggerPredicateConditionArgs { JobName = aws_glue_job.Example2.Name, State = "SUCCEEDED", }, }, }, Type = "CONDITIONAL", }); }
public MyStack() { var example = new Aws.Glue.Trigger("example", new Aws.Glue.TriggerArgs { Actions = { new Aws.Glue.Inputs.TriggerActionArgs { JobName = aws_glue_job.Example.Name, }, }, Type = "ON_DEMAND", }); }
public MyStack() { var example = new Aws.Glue.Trigger("example", new Aws.Glue.TriggerArgs { Actions = { new Aws.Glue.Inputs.TriggerActionArgs { JobName = aws_glue_job.Example.Name, }, }, Schedule = "cron(15 12 * * ? *)", Type = "SCHEDULED", }); }
public MyStack() { var example = new Aws.Glue.Workflow("example", new Aws.Glue.WorkflowArgs { }); var example_start = new Aws.Glue.Trigger("example-start", new Aws.Glue.TriggerArgs { Actions = { new Aws.Glue.Inputs.TriggerActionArgs { JobName = "example-job", }, }, Type = "ON_DEMAND", WorkflowName = example.Name, }); var example_inner = new Aws.Glue.Trigger("example-inner", new Aws.Glue.TriggerArgs { Actions = { new Aws.Glue.Inputs.TriggerActionArgs { JobName = "another-example-job", }, }, Predicate = new Aws.Glue.Inputs.TriggerPredicateArgs { Conditions = { new Aws.Glue.Inputs.TriggerPredicateConditionArgs { JobName = "example-job", State = "SUCCEEDED", }, }, }, Type = "CONDITIONAL", WorkflowName = example.Name, }); }