aws logo
AWS Classic v5.33.0, Mar 24 23

aws.glue.Trigger

Manages a Glue Trigger resource.

Example Usage

Conditional Trigger

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.Trigger("example", new()
    {
        Type = "CONDITIONAL",
        Actions = new[]
        {
            new Aws.Glue.Inputs.TriggerActionArgs
            {
                JobName = aws_glue_job.Example1.Name,
            },
        },
        Predicate = new Aws.Glue.Inputs.TriggerPredicateArgs
        {
            Conditions = new[]
            {
                new Aws.Glue.Inputs.TriggerPredicateConditionArgs
                {
                    JobName = aws_glue_job.Example2.Name,
                    State = "SUCCEEDED",
                },
            },
        },
    });

});
package main

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

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

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.Trigger;
import com.pulumi.aws.glue.TriggerArgs;
import com.pulumi.aws.glue.inputs.TriggerActionArgs;
import com.pulumi.aws.glue.inputs.TriggerPredicateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new Trigger("example", TriggerArgs.builder()        
            .type("CONDITIONAL")
            .actions(TriggerActionArgs.builder()
                .jobName(aws_glue_job.example1().name())
                .build())
            .predicate(TriggerPredicateArgs.builder()
                .conditions(TriggerPredicateConditionArgs.builder()
                    .jobName(aws_glue_job.example2().name())
                    .state("SUCCEEDED")
                    .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.glue.Trigger("example",
    type="CONDITIONAL",
    actions=[aws.glue.TriggerActionArgs(
        job_name=aws_glue_job["example1"]["name"],
    )],
    predicate=aws.glue.TriggerPredicateArgs(
        conditions=[aws.glue.TriggerPredicateConditionArgs(
            job_name=aws_glue_job["example2"]["name"],
            state="SUCCEEDED",
        )],
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.glue.Trigger("example", {
    type: "CONDITIONAL",
    actions: [{
        jobName: aws_glue_job.example1.name,
    }],
    predicate: {
        conditions: [{
            jobName: aws_glue_job.example2.name,
            state: "SUCCEEDED",
        }],
    },
});
resources:
  example:
    type: aws:glue:Trigger
    properties:
      type: CONDITIONAL
      actions:
        - jobName: ${aws_glue_job.example1.name}
      predicate:
        conditions:
          - jobName: ${aws_glue_job.example2.name}
            state: SUCCEEDED

On-Demand Trigger

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.Trigger("example", new()
    {
        Type = "ON_DEMAND",
        Actions = new[]
        {
            new Aws.Glue.Inputs.TriggerActionArgs
            {
                JobName = aws_glue_job.Example.Name,
            },
        },
    });

});
package main

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

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

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.Trigger;
import com.pulumi.aws.glue.TriggerArgs;
import com.pulumi.aws.glue.inputs.TriggerActionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new Trigger("example", TriggerArgs.builder()        
            .type("ON_DEMAND")
            .actions(TriggerActionArgs.builder()
                .jobName(aws_glue_job.example().name())
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

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

const example = new aws.glue.Trigger("example", {
    type: "ON_DEMAND",
    actions: [{
        jobName: aws_glue_job.example.name,
    }],
});
resources:
  example:
    type: aws:glue:Trigger
    properties:
      type: ON_DEMAND
      actions:
        - jobName: ${aws_glue_job.example.name}

Scheduled Trigger

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.Trigger("example", new()
    {
        Schedule = "cron(15 12 * * ? *)",
        Type = "SCHEDULED",
        Actions = new[]
        {
            new Aws.Glue.Inputs.TriggerActionArgs
            {
                JobName = aws_glue_job.Example.Name,
            },
        },
    });

});
package main

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

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

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.Trigger;
import com.pulumi.aws.glue.TriggerArgs;
import com.pulumi.aws.glue.inputs.TriggerActionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new Trigger("example", TriggerArgs.builder()        
            .schedule("cron(15 12 * * ? *)")
            .type("SCHEDULED")
            .actions(TriggerActionArgs.builder()
                .jobName(aws_glue_job.example().name())
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

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

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

Conditional Trigger with Crawler Action

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.Trigger("example", new()
    {
        Type = "CONDITIONAL",
        Actions = new[]
        {
            new Aws.Glue.Inputs.TriggerActionArgs
            {
                CrawlerName = aws_glue_crawler.Example1.Name,
            },
        },
        Predicate = new Aws.Glue.Inputs.TriggerPredicateArgs
        {
            Conditions = new[]
            {
                new Aws.Glue.Inputs.TriggerPredicateConditionArgs
                {
                    JobName = aws_glue_job.Example2.Name,
                    State = "SUCCEEDED",
                },
            },
        },
    });

});
package main

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

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

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.Trigger;
import com.pulumi.aws.glue.TriggerArgs;
import com.pulumi.aws.glue.inputs.TriggerActionArgs;
import com.pulumi.aws.glue.inputs.TriggerPredicateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new Trigger("example", TriggerArgs.builder()        
            .type("CONDITIONAL")
            .actions(TriggerActionArgs.builder()
                .crawlerName(aws_glue_crawler.example1().name())
                .build())
            .predicate(TriggerPredicateArgs.builder()
                .conditions(TriggerPredicateConditionArgs.builder()
                    .jobName(aws_glue_job.example2().name())
                    .state("SUCCEEDED")
                    .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.glue.Trigger("example",
    type="CONDITIONAL",
    actions=[aws.glue.TriggerActionArgs(
        crawler_name=aws_glue_crawler["example1"]["name"],
    )],
    predicate=aws.glue.TriggerPredicateArgs(
        conditions=[aws.glue.TriggerPredicateConditionArgs(
            job_name=aws_glue_job["example2"]["name"],
            state="SUCCEEDED",
        )],
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.glue.Trigger("example", {
    type: "CONDITIONAL",
    actions: [{
        crawlerName: aws_glue_crawler.example1.name,
    }],
    predicate: {
        conditions: [{
            jobName: aws_glue_job.example2.name,
            state: "SUCCEEDED",
        }],
    },
});
resources:
  example:
    type: aws:glue:Trigger
    properties:
      type: CONDITIONAL
      actions:
        - crawlerName: ${aws_glue_crawler.example1.name}
      predicate:
        conditions:
          - jobName: ${aws_glue_job.example2.name}
            state: SUCCEEDED

Conditional Trigger with Crawler Condition

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.Trigger("example", new()
    {
        Type = "CONDITIONAL",
        Actions = new[]
        {
            new Aws.Glue.Inputs.TriggerActionArgs
            {
                JobName = aws_glue_job.Example1.Name,
            },
        },
        Predicate = new Aws.Glue.Inputs.TriggerPredicateArgs
        {
            Conditions = new[]
            {
                new Aws.Glue.Inputs.TriggerPredicateConditionArgs
                {
                    CrawlerName = aws_glue_crawler.Example2.Name,
                    CrawlState = "SUCCEEDED",
                },
            },
        },
    });

});
package main

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

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

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.Trigger;
import com.pulumi.aws.glue.TriggerArgs;
import com.pulumi.aws.glue.inputs.TriggerActionArgs;
import com.pulumi.aws.glue.inputs.TriggerPredicateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new Trigger("example", TriggerArgs.builder()        
            .type("CONDITIONAL")
            .actions(TriggerActionArgs.builder()
                .jobName(aws_glue_job.example1().name())
                .build())
            .predicate(TriggerPredicateArgs.builder()
                .conditions(TriggerPredicateConditionArgs.builder()
                    .crawlerName(aws_glue_crawler.example2().name())
                    .crawlState("SUCCEEDED")
                    .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.glue.Trigger("example",
    type="CONDITIONAL",
    actions=[aws.glue.TriggerActionArgs(
        job_name=aws_glue_job["example1"]["name"],
    )],
    predicate=aws.glue.TriggerPredicateArgs(
        conditions=[aws.glue.TriggerPredicateConditionArgs(
            crawler_name=aws_glue_crawler["example2"]["name"],
            crawl_state="SUCCEEDED",
        )],
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.glue.Trigger("example", {
    type: "CONDITIONAL",
    actions: [{
        jobName: aws_glue_job.example1.name,
    }],
    predicate: {
        conditions: [{
            crawlerName: aws_glue_crawler.example2.name,
            crawlState: "SUCCEEDED",
        }],
    },
});
resources:
  example:
    type: aws:glue:Trigger
    properties:
      type: CONDITIONAL
      actions:
        - jobName: ${aws_glue_job.example1.name}
      predicate:
        conditions:
          - crawlerName: ${aws_glue_crawler.example2.name}
            crawlState: SUCCEEDED

Create Trigger Resource

new Trigger(name: string, args: TriggerArgs, opts?: CustomResourceOptions);
@overload
def Trigger(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            actions: Optional[Sequence[TriggerActionArgs]] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            event_batching_conditions: Optional[Sequence[TriggerEventBatchingConditionArgs]] = None,
            name: Optional[str] = None,
            predicate: Optional[TriggerPredicateArgs] = None,
            schedule: Optional[str] = None,
            start_on_creation: Optional[bool] = None,
            tags: Optional[Mapping[str, str]] = None,
            type: Optional[str] = None,
            workflow_name: Optional[str] = None)
@overload
def Trigger(resource_name: str,
            args: TriggerArgs,
            opts: Optional[ResourceOptions] = None)
func NewTrigger(ctx *Context, name string, args TriggerArgs, opts ...ResourceOption) (*Trigger, error)
public Trigger(string name, TriggerArgs args, CustomResourceOptions? opts = null)
public Trigger(String name, TriggerArgs args)
public Trigger(String name, TriggerArgs args, CustomResourceOptions options)
type: aws:glue:Trigger
properties: # The arguments to resource properties.
options: # 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.
resource_name str
The unique name of the resource.
args TriggerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control 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.
name String
The unique name of the resource.
args TriggerArgs
The arguments to resource properties.
options 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 Architecture and Concepts docs.

Inputs

The Trigger resource accepts the following input properties:

Actions List<TriggerActionArgs>

List of actions initiated by this trigger when it fires. See Actions Below.

Type string

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

Description string

A description of the new trigger.

Enabled bool

Start the trigger. Defaults to true.

EventBatchingConditions List<TriggerEventBatchingConditionArgs>

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

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. See Predicate Below.

Schedule string

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

StartOnCreation bool

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

Tags Dictionary<string, string>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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 []TriggerActionArgs

List of actions initiated by this trigger when it fires. See Actions Below.

Type string

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

Description string

A description of the new trigger.

Enabled bool

Start the trigger. Defaults to true.

EventBatchingConditions []TriggerEventBatchingConditionArgs

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

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. See Predicate Below.

Schedule string

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

StartOnCreation bool

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

Tags map[string]string

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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<TriggerActionArgs>

List of actions initiated by this trigger when it fires. See Actions Below.

type String

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

description String

A description of the new trigger.

enabled Boolean

Start the trigger. Defaults to true.

eventBatchingConditions List<TriggerEventBatchingConditionArgs>

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

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. See Predicate Below.

schedule String

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

startOnCreation Boolean

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

tags Map<String,String>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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 TriggerActionArgs[]

List of actions initiated by this trigger when it fires. See Actions Below.

type string

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

description string

A description of the new trigger.

enabled boolean

Start the trigger. Defaults to true.

eventBatchingConditions TriggerEventBatchingConditionArgs[]

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

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. See Predicate Below.

schedule string

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

startOnCreation boolean

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

tags {[key: string]: string}

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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 Sequence[TriggerActionArgs]

List of actions initiated by this trigger when it fires. See Actions Below.

type str

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

description str

A description of the new trigger.

enabled bool

Start the trigger. Defaults to true.

event_batching_conditions Sequence[TriggerEventBatchingConditionArgs]

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

name str

The name of the trigger.

predicate TriggerPredicateArgs

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. See Predicate Below.

schedule str

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

start_on_creation bool

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

tags Mapping[str, str]

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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.

actions List<Property Map>

List of actions initiated by this trigger when it fires. See Actions Below.

type String

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

description String

A description of the new trigger.

enabled Boolean

Start the trigger. Defaults to true.

eventBatchingConditions List<Property Map>

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

name String

The name of the trigger.

predicate Property Map

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. See Predicate Below.

schedule String

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

startOnCreation Boolean

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

tags Map<String>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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.

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.

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.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Arn string

Amazon Resource Name (ARN) of Glue Trigger

Id string

The provider-assigned unique ID for this managed resource.

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.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

Amazon Resource Name (ARN) of Glue Trigger

id String

The provider-assigned unique ID for this managed resource.

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.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn string

Amazon Resource Name (ARN) of Glue Trigger

id string

The provider-assigned unique ID for this managed resource.

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.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn str

Amazon Resource Name (ARN) of Glue Trigger

id str

The provider-assigned unique ID for this managed resource.

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.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

Amazon Resource Name (ARN) of Glue Trigger

id String

The provider-assigned unique ID for this managed resource.

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.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Look up 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
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        actions: Optional[Sequence[TriggerActionArgs]] = None,
        arn: Optional[str] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        event_batching_conditions: Optional[Sequence[TriggerEventBatchingConditionArgs]] = None,
        name: Optional[str] = None,
        predicate: Optional[TriggerPredicateArgs] = None,
        schedule: Optional[str] = None,
        start_on_creation: Optional[bool] = None,
        state: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        type: Optional[str] = None,
        workflow_name: Optional[str] = None) -> Trigger
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)
public static Trigger get(String name, Output<String> id, TriggerState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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. See Actions 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.

EventBatchingConditions List<TriggerEventBatchingConditionArgs>

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

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. See Predicate Below.

Schedule string

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

StartOnCreation bool

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

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.

Tags Dictionary<string, string>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Type string

The type of trigger. Valid values are CONDITIONAL, EVENT, 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 []TriggerActionArgs

List of actions initiated by this trigger when it fires. See Actions 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.

EventBatchingConditions []TriggerEventBatchingConditionArgs

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

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. See Predicate Below.

Schedule string

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

StartOnCreation bool

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

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.

Tags map[string]string

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Type string

The type of trigger. Valid values are CONDITIONAL, EVENT, 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<TriggerActionArgs>

List of actions initiated by this trigger when it fires. See Actions 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.

eventBatchingConditions List<TriggerEventBatchingConditionArgs>

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

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. See Predicate Below.

schedule String

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

startOnCreation Boolean

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

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.

tags Map<String,String>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type String

The type of trigger. Valid values are CONDITIONAL, EVENT, 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 TriggerActionArgs[]

List of actions initiated by this trigger when it fires. See Actions 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.

eventBatchingConditions TriggerEventBatchingConditionArgs[]

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

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. See Predicate Below.

schedule string

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

startOnCreation boolean

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

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.

tags {[key: string]: string}

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type string

The type of trigger. Valid values are CONDITIONAL, EVENT, 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 Sequence[TriggerActionArgs]

List of actions initiated by this trigger when it fires. See Actions 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.

event_batching_conditions Sequence[TriggerEventBatchingConditionArgs]

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

name str

The name of the trigger.

predicate TriggerPredicateArgs

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. See Predicate Below.

schedule str

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

start_on_creation bool

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

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.

tags Mapping[str, str]

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type str

The type of trigger. Valid values are CONDITIONAL, EVENT, 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.

actions List<Property Map>

List of actions initiated by this trigger when it fires. See Actions 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.

eventBatchingConditions List<Property Map>

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. See Event Batching Condition.

name String

The name of the trigger.

predicate Property Map

A predicate to specify when the new trigger should fire. Required when trigger type is CONDITIONAL. See Predicate Below.

schedule String

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

startOnCreation Boolean

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

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.

tags Map<String>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type String

The type of trigger. Valid values are CONDITIONAL, EVENT, 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.

Supporting Types

TriggerAction

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.

NotificationProperty TriggerActionNotificationProperty

Specifies configuration properties of a job run notification. See Notification Property details below.

SecurityConfiguration string

The name of the Security Configuration structure to be used with this action.

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.

NotificationProperty TriggerActionNotificationProperty

Specifies configuration properties of a job run notification. See Notification Property details below.

SecurityConfiguration string

The name of the Security Configuration structure to be used with this action.

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.

notificationProperty TriggerActionNotificationProperty

Specifies configuration properties of a job run notification. See Notification Property details below.

securityConfiguration String

The name of the Security Configuration structure to be used with this action.

timeout Integer

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.

notificationProperty TriggerActionNotificationProperty

Specifies configuration properties of a job run notification. See Notification Property details below.

securityConfiguration string

The name of the Security Configuration structure to be used with this action.

timeout number

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

arguments Mapping[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.

crawler_name str

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

job_name str

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

notification_property TriggerActionNotificationProperty

Specifies configuration properties of a job run notification. See Notification Property details below.

security_configuration str

The name of the Security Configuration structure to be used with this action.

timeout int

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

arguments Map<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.

notificationProperty Property Map

Specifies configuration properties of a job run notification. See Notification Property details below.

securityConfiguration String

The name of the Security Configuration structure to be used with this action.

timeout Number

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

TriggerActionNotificationProperty

NotifyDelayAfter int

After a job run starts, the number of minutes to wait before sending a job run delay notification.

NotifyDelayAfter int

After a job run starts, the number of minutes to wait before sending a job run delay notification.

notifyDelayAfter Integer

After a job run starts, the number of minutes to wait before sending a job run delay notification.

notifyDelayAfter number

After a job run starts, the number of minutes to wait before sending a job run delay notification.

notify_delay_after int

After a job run starts, the number of minutes to wait before sending a job run delay notification.

notifyDelayAfter Number

After a job run starts, the number of minutes to wait before sending a job run delay notification.

TriggerEventBatchingCondition

BatchSize int

Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

BatchWindow int

Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received. Default value is 900.

BatchSize int

Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

BatchWindow int

Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received. Default value is 900.

batchSize Integer

Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

batchWindow Integer

Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received. Default value is 900.

batchSize number

Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

batchWindow number

Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received. Default value is 900.

batch_size int

Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

batch_window int

Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received. Default value is 900.

batchSize Number

Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

batchWindow Number

Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received. Default value is 900.

TriggerPredicate

Conditions List<TriggerPredicateCondition>

A list of the conditions that determine when the trigger will fire. See Conditions.

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. See Conditions.

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. See Conditions.

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. See Conditions.

logical string

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

conditions Sequence[TriggerPredicateCondition]

A list of the conditions that determine when the trigger will fire. See Conditions.

logical str

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

conditions List<Property Map>

A list of the conditions that determine when the trigger will fire. See Conditions.

logical String

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

TriggerPredicateCondition

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 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.

crawl_state 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.

crawler_name str

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

job_name str

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

logical_operator 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.

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.

Import

Glue Triggers can be imported using name, e.g.,

 $ pulumi import aws:glue/trigger:Trigger MyTrigger MyTrigger

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.