Trigger

Manages a Glue Trigger resource.

Example Usage

Conditional Trigger

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    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",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/glue"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := glue.NewTrigger(ctx, "example", &glue.TriggerArgs{
            Actions: glue.TriggerActionArray{
                &glue.TriggerActionArgs{
                    JobName: pulumi.String(aws_glue_job.Example1.Name),
                },
            },
            Predicate: &glue.TriggerPredicateArgs{
                Conditions: glue.TriggerPredicateConditionArray{
                    &glue.TriggerPredicateConditionArgs{
                        JobName: pulumi.String(aws_glue_job.Example2.Name),
                        State:   pulumi.String("SUCCEEDED"),
                    },
                },
            },
            Type: pulumi.String("CONDITIONAL"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.glue.Trigger("example",
    actions=[{
        "jobName": aws_glue_job["example1"]["name"],
    }],
    predicate={
        "conditions": [{
            "jobName": aws_glue_job["example2"]["name"],
            "state": "SUCCEEDED",
        }],
    },
    type="CONDITIONAL")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.glue.Trigger("example", {
    actions: [{
        jobName: aws_glue_job_example1.name,
    }],
    predicate: {
        conditions: [{
            jobName: aws_glue_job_example2.name,
            state: "SUCCEEDED",
        }],
    },
    type: "CONDITIONAL",
});

On-Demand Trigger

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    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",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/glue"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := glue.NewTrigger(ctx, "example", &glue.TriggerArgs{
            Actions: glue.TriggerActionArray{
                &glue.TriggerActionArgs{
                    JobName: pulumi.String(aws_glue_job.Example.Name),
                },
            },
            Type: pulumi.String("ON_DEMAND"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.glue.Trigger("example",
    actions=[{
        "jobName": aws_glue_job["example"]["name"],
    }],
    type="ON_DEMAND")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.glue.Trigger("example", {
    actions: [{
        jobName: aws_glue_job_example.name,
    }],
    type: "ON_DEMAND",
});

Scheduled Trigger

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    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",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/glue"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := glue.NewTrigger(ctx, "example", &glue.TriggerArgs{
            Actions: glue.TriggerActionArray{
                &glue.TriggerActionArgs{
                    JobName: pulumi.String(aws_glue_job.Example.Name),
                },
            },
            Schedule: pulumi.String("cron(15 12 * * ? *)"),
            Type:     pulumi.String("SCHEDULED"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.glue.Trigger("example",
    actions=[{
        "jobName": aws_glue_job["example"]["name"],
    }],
    schedule="cron(15 12 * * ? *)",
    type="SCHEDULED")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.glue.Trigger("example", {
    actions: [{
        jobName: aws_glue_job_example.name,
    }],
    schedule: "cron(15 12 * * ? *)",
    type: "SCHEDULED",
});

Conditional Trigger with Crawler Action

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Aws.Glue.Trigger("example", new Aws.Glue.TriggerArgs
        {
            Actions = 
            {
                new Aws.Glue.Inputs.TriggerActionArgs
                {
                    CrawlerName = aws_glue_crawler.Example1.Name,
                },
            },
            Predicate = new Aws.Glue.Inputs.TriggerPredicateArgs
            {
                Conditions = 
                {
                    new Aws.Glue.Inputs.TriggerPredicateConditionArgs
                    {
                        JobName = aws_glue_job.Example2.Name,
                        State = "SUCCEEDED",
                    },
                },
            },
            Type = "CONDITIONAL",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/glue"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := glue.NewTrigger(ctx, "example", &glue.TriggerArgs{
            Actions: glue.TriggerActionArray{
                &glue.TriggerActionArgs{
                    CrawlerName: pulumi.String(aws_glue_crawler.Example1.Name),
                },
            },
            Predicate: &glue.TriggerPredicateArgs{
                Conditions: glue.TriggerPredicateConditionArray{
                    &glue.TriggerPredicateConditionArgs{
                        JobName: pulumi.String(aws_glue_job.Example2.Name),
                        State:   pulumi.String("SUCCEEDED"),
                    },
                },
            },
            Type: pulumi.String("CONDITIONAL"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.glue.Trigger("example",
    actions=[{
        "crawlerName": aws_glue_crawler["example1"]["name"],
    }],
    predicate={
        "conditions": [{
            "jobName": aws_glue_job["example2"]["name"],
            "state": "SUCCEEDED",
        }],
    },
    type="CONDITIONAL")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.glue.Trigger("example", {
    actions: [{
        crawlerName: aws_glue_crawler_example1.name,
    }],
    predicate: {
        conditions: [{
            jobName: aws_glue_job_example2.name,
            state: "SUCCEEDED",
        }],
    },
    type: "CONDITIONAL",
});

Conditional Trigger with Crawler Condition

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    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
                    {
                        CrawlState = "SUCCEEDED",
                        CrawlerName = aws_glue_crawler.Example2.Name,
                    },
                },
            },
            Type = "CONDITIONAL",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/glue"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := glue.NewTrigger(ctx, "example", &glue.TriggerArgs{
            Actions: glue.TriggerActionArray{
                &glue.TriggerActionArgs{
                    JobName: pulumi.String(aws_glue_job.Example1.Name),
                },
            },
            Predicate: &glue.TriggerPredicateArgs{
                Conditions: glue.TriggerPredicateConditionArray{
                    &glue.TriggerPredicateConditionArgs{
                        CrawlState:  pulumi.String("SUCCEEDED"),
                        CrawlerName: pulumi.String(aws_glue_crawler.Example2.Name),
                    },
                },
            },
            Type: pulumi.String("CONDITIONAL"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.glue.Trigger("example",
    actions=[{
        "jobName": aws_glue_job["example1"]["name"],
    }],
    predicate={
        "conditions": [{
            "crawlState": "SUCCEEDED",
            "crawlerName": aws_glue_crawler["example2"]["name"],
        }],
    },
    type="CONDITIONAL")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.glue.Trigger("example", {
    actions: [{
        jobName: aws_glue_job_example1.name,
    }],
    predicate: {
        conditions: [{
            crawlState: "SUCCEEDED",
            crawlerName: aws_glue_crawler_example2.name,
        }],
    },
    type: "CONDITIONAL",
});

Create a Trigger Resource

new Trigger(name: string, args: TriggerArgs, opts?: CustomResourceOptions);
def Trigger(resource_name, opts=None, actions=None, description=None, enabled=None, name=None, predicate=None, schedule=None, tags=None, type=None, workflow_name=None, __props__=None);
func NewTrigger(ctx *Context, name string, args TriggerArgs, opts ...ResourceOption) (*Trigger, error)
public Trigger(string name, TriggerArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args TriggerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TriggerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TriggerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Trigger Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Trigger resource accepts the following input properties:

Actions List<TriggerActionArgs>

List of actions initiated by this trigger when it fires. Defined below.

Type string

The type of trigger. Valid values are CONDITIONAL, ON_DEMAND, and SCHEDULED.

Description string

A description of the new trigger.

Enabled bool

Start the trigger. Defaults to true. Not valid to disable for ON_DEMAND type.

Name string

The name of the trigger.

Predicate TriggerPredicateArgs

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. Defined below.

Schedule string

A cron expression used to specify the schedule. Time-Based Schedules for Jobs and Crawlers

Tags Dictionary<string, string>

Key-value map of resource tags

WorkflowName string

A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMAND or SCHEDULED type) and can contain multiple additional CONDITIONAL triggers.

Actions []TriggerAction

List of actions initiated by this trigger when it fires. Defined below.

Type string

The type of trigger. Valid values are CONDITIONAL, ON_DEMAND, and SCHEDULED.

Description string

A description of the new trigger.

Enabled bool

Start the trigger. Defaults to true. Not valid to disable for ON_DEMAND type.

Name string

The name of the trigger.

Predicate TriggerPredicate

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. Defined below.

Schedule string

A cron expression used to specify the schedule. Time-Based Schedules for Jobs and Crawlers

Tags map[string]string

Key-value map of resource tags

WorkflowName string

A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMAND or SCHEDULED type) and can contain multiple additional CONDITIONAL triggers.

actions TriggerAction[]

List of actions initiated by this trigger when it fires. Defined below.

type string

The type of trigger. Valid values are CONDITIONAL, ON_DEMAND, and SCHEDULED.

description string

A description of the new trigger.

enabled boolean

Start the trigger. Defaults to true. Not valid to disable for ON_DEMAND type.

name string

The name of the trigger.

predicate TriggerPredicate

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. Defined below.

schedule string

A cron expression used to specify the schedule. Time-Based Schedules for Jobs and Crawlers

tags {[key: string]: string}

Key-value map of resource tags

workflowName string

A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMAND or SCHEDULED type) and can contain multiple additional CONDITIONAL triggers.

actions List[TriggerAction]

List of actions initiated by this trigger when it fires. Defined below.

type str

The type of trigger. Valid values are CONDITIONAL, ON_DEMAND, and SCHEDULED.

description str

A description of the new trigger.

enabled bool

Start the trigger. Defaults to true. Not valid to disable for ON_DEMAND type.

name str

The name of the trigger.

predicate Dict[TriggerPredicate]

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. Defined below.

schedule str

A cron expression used to specify the schedule. Time-Based Schedules for Jobs and Crawlers

tags Dict[str, str]

Key-value map of resource tags

workflow_name str

A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMAND or SCHEDULED type) and can contain multiple additional CONDITIONAL triggers.

Outputs

All input properties are implicitly available as output properties. Additionally, the Trigger resource produces the following output properties:

Arn string

Amazon Resource Name (ARN) of Glue Trigger

Id string
The provider-assigned unique ID for this managed resource.
Arn string

Amazon Resource Name (ARN) of Glue Trigger

Id string
The provider-assigned unique ID for this managed resource.
arn string

Amazon Resource Name (ARN) of Glue Trigger

id string
The provider-assigned unique ID for this managed resource.
arn str

Amazon Resource Name (ARN) of Glue Trigger

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Trigger Resource

Get an existing Trigger resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: TriggerState, opts?: CustomResourceOptions): Trigger
static get(resource_name, id, opts=None, actions=None, arn=None, description=None, enabled=None, name=None, predicate=None, schedule=None, tags=None, type=None, workflow_name=None, __props__=None);
func GetTrigger(ctx *Context, name string, id IDInput, state *TriggerState, opts ...ResourceOption) (*Trigger, error)
public static Trigger Get(string name, Input<string> id, TriggerState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Actions List<TriggerActionArgs>

List of actions initiated by this trigger when it fires. Defined below.

Arn string

Amazon Resource Name (ARN) of Glue Trigger

Description string

A description of the new trigger.

Enabled bool

Start the trigger. Defaults to true. Not valid to disable for ON_DEMAND type.

Name string

The name of the trigger.

Predicate TriggerPredicateArgs

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. Defined below.

Schedule string

A cron expression used to specify the schedule. Time-Based Schedules for Jobs and Crawlers

Tags Dictionary<string, string>

Key-value map of resource tags

Type string

The type of trigger. Valid values are CONDITIONAL, ON_DEMAND, and SCHEDULED.

WorkflowName string

A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMAND or SCHEDULED type) and can contain multiple additional CONDITIONAL triggers.

Actions []TriggerAction

List of actions initiated by this trigger when it fires. Defined below.

Arn string

Amazon Resource Name (ARN) of Glue Trigger

Description string

A description of the new trigger.

Enabled bool

Start the trigger. Defaults to true. Not valid to disable for ON_DEMAND type.

Name string

The name of the trigger.

Predicate TriggerPredicate

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. Defined below.

Schedule string

A cron expression used to specify the schedule. Time-Based Schedules for Jobs and Crawlers

Tags map[string]string

Key-value map of resource tags

Type string

The type of trigger. Valid values are CONDITIONAL, ON_DEMAND, and SCHEDULED.

WorkflowName string

A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMAND or SCHEDULED type) and can contain multiple additional CONDITIONAL triggers.

actions TriggerAction[]

List of actions initiated by this trigger when it fires. Defined below.

arn string

Amazon Resource Name (ARN) of Glue Trigger

description string

A description of the new trigger.

enabled boolean

Start the trigger. Defaults to true. Not valid to disable for ON_DEMAND type.

name string

The name of the trigger.

predicate TriggerPredicate

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. Defined below.

schedule string

A cron expression used to specify the schedule. Time-Based Schedules for Jobs and Crawlers

tags {[key: string]: string}

Key-value map of resource tags

type string

The type of trigger. Valid values are CONDITIONAL, ON_DEMAND, and SCHEDULED.

workflowName string

A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMAND or SCHEDULED type) and can contain multiple additional CONDITIONAL triggers.

actions List[TriggerAction]

List of actions initiated by this trigger when it fires. Defined below.

arn str

Amazon Resource Name (ARN) of Glue Trigger

description str

A description of the new trigger.

enabled bool

Start the trigger. Defaults to true. Not valid to disable for ON_DEMAND type.

name str

The name of the trigger.

predicate Dict[TriggerPredicate]

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. Defined below.

schedule str

A cron expression used to specify the schedule. Time-Based Schedules for Jobs and Crawlers

tags Dict[str, str]

Key-value map of resource tags

type str

The type of trigger. Valid values are CONDITIONAL, ON_DEMAND, and SCHEDULED.

workflow_name str

A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMAND or SCHEDULED type) and can contain multiple additional CONDITIONAL triggers.

Supporting Types

TriggerAction

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Arguments Dictionary<string, string>

Arguments to be passed to the job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

CrawlerName string

The name of the crawler to be executed. Conflicts with job_name.

JobName string

The name of a job to be executed. Conflicts with crawler_name.

Timeout int

The job run timeout in minutes. It overrides the timeout value of the job.

Arguments map[string]string

Arguments to be passed to the job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

CrawlerName string

The name of the crawler to be executed. Conflicts with job_name.

JobName string

The name of a job to be executed. Conflicts with crawler_name.

Timeout int

The job run timeout in minutes. It overrides the timeout value of the job.

arguments {[key: string]: string}

Arguments to be passed to the job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

crawlerName string

The name of the crawler to be executed. Conflicts with job_name.

jobName string

The name of a job to be executed. Conflicts with crawler_name.

timeout number

The job run timeout in minutes. It overrides the timeout value of the job.

arguments Dict[str, str]

Arguments to be passed to the job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

crawlerName str

The name of the crawler to be executed. Conflicts with job_name.

jobName str

The name of a job to be executed. Conflicts with crawler_name.

timeout float

The job run timeout in minutes. It overrides the timeout value of the job.

TriggerPredicate

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Conditions List<TriggerPredicateConditionArgs>

A list of the conditions that determine when the trigger will fire. Defined below.

Logical string

How to handle multiple conditions. Defaults to AND. Valid values are AND or ANY.

Conditions []TriggerPredicateCondition

A list of the conditions that determine when the trigger will fire. Defined below.

Logical string

How to handle multiple conditions. Defaults to AND. Valid values are AND or ANY.

conditions TriggerPredicateCondition[]

A list of the conditions that determine when the trigger will fire. Defined below.

logical string

How to handle multiple conditions. Defaults to AND. Valid values are AND or ANY.

conditions List[TriggerPredicateCondition]

A list of the conditions that determine when the trigger will fire. Defined below.

logical str

How to handle multiple conditions. Defaults to AND. Valid values are AND or ANY.

TriggerPredicateCondition

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CrawlState string

The condition crawl state. Currently, the values supported are RUNNING, SUCCEEDED, CANCELLED, and FAILED. If this is specified, crawler_name must also be specified. Conflicts with state.

CrawlerName string

The name of the crawler to watch. If this is specified, crawl_state must also be specified. Conflicts with job_name.

JobName string

The name of the job to watch. If this is specified, state must also be specified. Conflicts with crawler_name.

LogicalOperator string

A logical operator. Defaults to EQUALS.

State string

The condition job state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT and FAILED. If this is specified, job_name must also be specified. Conflicts with crawler_state.

CrawlState string

The condition crawl state. Currently, the values supported are RUNNING, SUCCEEDED, CANCELLED, and FAILED. If this is specified, crawler_name must also be specified. Conflicts with state.

CrawlerName string

The name of the crawler to watch. If this is specified, crawl_state must also be specified. Conflicts with job_name.

JobName string

The name of the job to watch. If this is specified, state must also be specified. Conflicts with crawler_name.

LogicalOperator string

A logical operator. Defaults to EQUALS.

State string

The condition job state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT and FAILED. If this is specified, job_name must also be specified. Conflicts with crawler_state.

crawlState string

The condition crawl state. Currently, the values supported are RUNNING, SUCCEEDED, CANCELLED, and FAILED. If this is specified, crawler_name must also be specified. Conflicts with state.

crawlerName string

The name of the crawler to watch. If this is specified, crawl_state must also be specified. Conflicts with job_name.

jobName string

The name of the job to watch. If this is specified, state must also be specified. Conflicts with crawler_name.

logicalOperator string

A logical operator. Defaults to EQUALS.

state string

The condition job state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT and FAILED. If this is specified, job_name must also be specified. Conflicts with crawler_state.

crawlState str

The condition crawl state. Currently, the values supported are RUNNING, SUCCEEDED, CANCELLED, and FAILED. If this is specified, crawler_name must also be specified. Conflicts with state.

crawlerName str

The name of the crawler to watch. If this is specified, crawl_state must also be specified. Conflicts with job_name.

jobName str

The name of the job to watch. If this is specified, state must also be specified. Conflicts with crawler_name.

logicalOperator str

A logical operator. Defaults to EQUALS.

state str

The condition job state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT and FAILED. If this is specified, job_name must also be specified. Conflicts with crawler_state.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.