aws.glue.Trigger
Explore with Pulumi AI
Manages a Glue Trigger resource.
Example Usage
Conditional Trigger
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.Trigger("example", {
    name: "example",
    type: "CONDITIONAL",
    actions: [{
        jobName: example1.name,
    }],
    predicate: {
        conditions: [{
            jobName: example2.name,
            state: "SUCCEEDED",
        }],
    },
});
import pulumi
import pulumi_aws as aws
example = aws.glue.Trigger("example",
    name="example",
    type="CONDITIONAL",
    actions=[{
        "job_name": example1["name"],
    }],
    predicate={
        "conditions": [{
            "job_name": example2["name"],
            "state": "SUCCEEDED",
        }],
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/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{
			Name: pulumi.String("example"),
			Type: pulumi.String("CONDITIONAL"),
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					JobName: pulumi.Any(example1.Name),
				},
			},
			Predicate: &glue.TriggerPredicateArgs{
				Conditions: glue.TriggerPredicateConditionArray{
					&glue.TriggerPredicateConditionArgs{
						JobName: pulumi.Any(example2.Name),
						State:   pulumi.String("SUCCEEDED"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.Trigger("example", new()
    {
        Name = "example",
        Type = "CONDITIONAL",
        Actions = new[]
        {
            new Aws.Glue.Inputs.TriggerActionArgs
            {
                JobName = example1.Name,
            },
        },
        Predicate = new Aws.Glue.Inputs.TriggerPredicateArgs
        {
            Conditions = new[]
            {
                new Aws.Glue.Inputs.TriggerPredicateConditionArgs
                {
                    JobName = example2.Name,
                    State = "SUCCEEDED",
                },
            },
        },
    });
});
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()
            .name("example")
            .type("CONDITIONAL")
            .actions(TriggerActionArgs.builder()
                .jobName(example1.name())
                .build())
            .predicate(TriggerPredicateArgs.builder()
                .conditions(TriggerPredicateConditionArgs.builder()
                    .jobName(example2.name())
                    .state("SUCCEEDED")
                    .build())
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:glue:Trigger
    properties:
      name: example
      type: CONDITIONAL
      actions:
        - jobName: ${example1.name}
      predicate:
        conditions:
          - jobName: ${example2.name}
            state: SUCCEEDED
On-Demand Trigger
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.Trigger("example", {
    name: "example",
    type: "ON_DEMAND",
    actions: [{
        jobName: exampleAwsGlueJob.name,
    }],
});
import pulumi
import pulumi_aws as aws
example = aws.glue.Trigger("example",
    name="example",
    type="ON_DEMAND",
    actions=[{
        "job_name": example_aws_glue_job["name"],
    }])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/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{
			Name: pulumi.String("example"),
			Type: pulumi.String("ON_DEMAND"),
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					JobName: pulumi.Any(exampleAwsGlueJob.Name),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.Trigger("example", new()
    {
        Name = "example",
        Type = "ON_DEMAND",
        Actions = new[]
        {
            new Aws.Glue.Inputs.TriggerActionArgs
            {
                JobName = exampleAwsGlueJob.Name,
            },
        },
    });
});
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()
            .name("example")
            .type("ON_DEMAND")
            .actions(TriggerActionArgs.builder()
                .jobName(exampleAwsGlueJob.name())
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:glue:Trigger
    properties:
      name: example
      type: ON_DEMAND
      actions:
        - jobName: ${exampleAwsGlueJob.name}
Scheduled Trigger
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.Trigger("example", {
    name: "example",
    schedule: "cron(15 12 * * ? *)",
    type: "SCHEDULED",
    actions: [{
        jobName: exampleAwsGlueJob.name,
    }],
});
import pulumi
import pulumi_aws as aws
example = aws.glue.Trigger("example",
    name="example",
    schedule="cron(15 12 * * ? *)",
    type="SCHEDULED",
    actions=[{
        "job_name": example_aws_glue_job["name"],
    }])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/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{
			Name:     pulumi.String("example"),
			Schedule: pulumi.String("cron(15 12 * * ? *)"),
			Type:     pulumi.String("SCHEDULED"),
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					JobName: pulumi.Any(exampleAwsGlueJob.Name),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.Trigger("example", new()
    {
        Name = "example",
        Schedule = "cron(15 12 * * ? *)",
        Type = "SCHEDULED",
        Actions = new[]
        {
            new Aws.Glue.Inputs.TriggerActionArgs
            {
                JobName = exampleAwsGlueJob.Name,
            },
        },
    });
});
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()
            .name("example")
            .schedule("cron(15 12 * * ? *)")
            .type("SCHEDULED")
            .actions(TriggerActionArgs.builder()
                .jobName(exampleAwsGlueJob.name())
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:glue:Trigger
    properties:
      name: example
      schedule: cron(15 12 * * ? *)
      type: SCHEDULED
      actions:
        - jobName: ${exampleAwsGlueJob.name}
Conditional Trigger with Crawler Action
Note: Triggers can have both a crawler action and a crawler condition, just no example provided.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.Trigger("example", {
    name: "example",
    type: "CONDITIONAL",
    actions: [{
        crawlerName: example1.name,
    }],
    predicate: {
        conditions: [{
            jobName: example2.name,
            state: "SUCCEEDED",
        }],
    },
});
import pulumi
import pulumi_aws as aws
example = aws.glue.Trigger("example",
    name="example",
    type="CONDITIONAL",
    actions=[{
        "crawler_name": example1["name"],
    }],
    predicate={
        "conditions": [{
            "job_name": example2["name"],
            "state": "SUCCEEDED",
        }],
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/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{
			Name: pulumi.String("example"),
			Type: pulumi.String("CONDITIONAL"),
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					CrawlerName: pulumi.Any(example1.Name),
				},
			},
			Predicate: &glue.TriggerPredicateArgs{
				Conditions: glue.TriggerPredicateConditionArray{
					&glue.TriggerPredicateConditionArgs{
						JobName: pulumi.Any(example2.Name),
						State:   pulumi.String("SUCCEEDED"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.Trigger("example", new()
    {
        Name = "example",
        Type = "CONDITIONAL",
        Actions = new[]
        {
            new Aws.Glue.Inputs.TriggerActionArgs
            {
                CrawlerName = example1.Name,
            },
        },
        Predicate = new Aws.Glue.Inputs.TriggerPredicateArgs
        {
            Conditions = new[]
            {
                new Aws.Glue.Inputs.TriggerPredicateConditionArgs
                {
                    JobName = example2.Name,
                    State = "SUCCEEDED",
                },
            },
        },
    });
});
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()
            .name("example")
            .type("CONDITIONAL")
            .actions(TriggerActionArgs.builder()
                .crawlerName(example1.name())
                .build())
            .predicate(TriggerPredicateArgs.builder()
                .conditions(TriggerPredicateConditionArgs.builder()
                    .jobName(example2.name())
                    .state("SUCCEEDED")
                    .build())
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:glue:Trigger
    properties:
      name: example
      type: CONDITIONAL
      actions:
        - crawlerName: ${example1.name}
      predicate:
        conditions:
          - jobName: ${example2.name}
            state: SUCCEEDED
Conditional Trigger with Crawler Condition
Note: Triggers can have both a crawler action and a crawler condition, just no example provided.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.Trigger("example", {
    name: "example",
    type: "CONDITIONAL",
    actions: [{
        jobName: example1.name,
    }],
    predicate: {
        conditions: [{
            crawlerName: example2.name,
            crawlState: "SUCCEEDED",
        }],
    },
});
import pulumi
import pulumi_aws as aws
example = aws.glue.Trigger("example",
    name="example",
    type="CONDITIONAL",
    actions=[{
        "job_name": example1["name"],
    }],
    predicate={
        "conditions": [{
            "crawler_name": example2["name"],
            "crawl_state": "SUCCEEDED",
        }],
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/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{
			Name: pulumi.String("example"),
			Type: pulumi.String("CONDITIONAL"),
			Actions: glue.TriggerActionArray{
				&glue.TriggerActionArgs{
					JobName: pulumi.Any(example1.Name),
				},
			},
			Predicate: &glue.TriggerPredicateArgs{
				Conditions: glue.TriggerPredicateConditionArray{
					&glue.TriggerPredicateConditionArgs{
						CrawlerName: pulumi.Any(example2.Name),
						CrawlState:  pulumi.String("SUCCEEDED"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.Trigger("example", new()
    {
        Name = "example",
        Type = "CONDITIONAL",
        Actions = new[]
        {
            new Aws.Glue.Inputs.TriggerActionArgs
            {
                JobName = example1.Name,
            },
        },
        Predicate = new Aws.Glue.Inputs.TriggerPredicateArgs
        {
            Conditions = new[]
            {
                new Aws.Glue.Inputs.TriggerPredicateConditionArgs
                {
                    CrawlerName = example2.Name,
                    CrawlState = "SUCCEEDED",
                },
            },
        },
    });
});
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()
            .name("example")
            .type("CONDITIONAL")
            .actions(TriggerActionArgs.builder()
                .jobName(example1.name())
                .build())
            .predicate(TriggerPredicateArgs.builder()
                .conditions(TriggerPredicateConditionArgs.builder()
                    .crawlerName(example2.name())
                    .crawlState("SUCCEEDED")
                    .build())
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:glue:Trigger
    properties:
      name: example
      type: CONDITIONAL
      actions:
        - jobName: ${example1.name}
      predicate:
        conditions:
          - crawlerName: ${example2.name}
            crawlState: SUCCEEDED
Create Trigger Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Trigger(name: string, args: TriggerArgs, opts?: CustomResourceOptions);@overload
def Trigger(resource_name: str,
            args: TriggerArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Trigger(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            actions: Optional[Sequence[TriggerActionArgs]] = None,
            type: 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,
            tags: Optional[Mapping[str, str]] = None,
            workflow_name: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var awsTriggerResource = new Aws.Glue.Trigger("awsTriggerResource", new()
{
    Actions = new[]
    {
        new Aws.Glue.Inputs.TriggerActionArgs
        {
            Arguments = 
            {
                { "string", "string" },
            },
            CrawlerName = "string",
            JobName = "string",
            NotificationProperty = new Aws.Glue.Inputs.TriggerActionNotificationPropertyArgs
            {
                NotifyDelayAfter = 0,
            },
            SecurityConfiguration = "string",
            Timeout = 0,
        },
    },
    Type = "string",
    Description = "string",
    Enabled = false,
    EventBatchingConditions = new[]
    {
        new Aws.Glue.Inputs.TriggerEventBatchingConditionArgs
        {
            BatchSize = 0,
            BatchWindow = 0,
        },
    },
    Name = "string",
    Predicate = new Aws.Glue.Inputs.TriggerPredicateArgs
    {
        Conditions = new[]
        {
            new Aws.Glue.Inputs.TriggerPredicateConditionArgs
            {
                CrawlState = "string",
                CrawlerName = "string",
                JobName = "string",
                LogicalOperator = "string",
                State = "string",
            },
        },
        Logical = "string",
    },
    Schedule = "string",
    StartOnCreation = false,
    Tags = 
    {
        { "string", "string" },
    },
    WorkflowName = "string",
});
example, err := glue.NewTrigger(ctx, "awsTriggerResource", &glue.TriggerArgs{
	Actions: glue.TriggerActionArray{
		&glue.TriggerActionArgs{
			Arguments: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			CrawlerName: pulumi.String("string"),
			JobName:     pulumi.String("string"),
			NotificationProperty: &glue.TriggerActionNotificationPropertyArgs{
				NotifyDelayAfter: pulumi.Int(0),
			},
			SecurityConfiguration: pulumi.String("string"),
			Timeout:               pulumi.Int(0),
		},
	},
	Type:        pulumi.String("string"),
	Description: pulumi.String("string"),
	Enabled:     pulumi.Bool(false),
	EventBatchingConditions: glue.TriggerEventBatchingConditionArray{
		&glue.TriggerEventBatchingConditionArgs{
			BatchSize:   pulumi.Int(0),
			BatchWindow: pulumi.Int(0),
		},
	},
	Name: pulumi.String("string"),
	Predicate: &glue.TriggerPredicateArgs{
		Conditions: glue.TriggerPredicateConditionArray{
			&glue.TriggerPredicateConditionArgs{
				CrawlState:      pulumi.String("string"),
				CrawlerName:     pulumi.String("string"),
				JobName:         pulumi.String("string"),
				LogicalOperator: pulumi.String("string"),
				State:           pulumi.String("string"),
			},
		},
		Logical: pulumi.String("string"),
	},
	Schedule:        pulumi.String("string"),
	StartOnCreation: pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	WorkflowName: pulumi.String("string"),
})
var awsTriggerResource = new Trigger("awsTriggerResource", TriggerArgs.builder()
    .actions(TriggerActionArgs.builder()
        .arguments(Map.of("string", "string"))
        .crawlerName("string")
        .jobName("string")
        .notificationProperty(TriggerActionNotificationPropertyArgs.builder()
            .notifyDelayAfter(0)
            .build())
        .securityConfiguration("string")
        .timeout(0)
        .build())
    .type("string")
    .description("string")
    .enabled(false)
    .eventBatchingConditions(TriggerEventBatchingConditionArgs.builder()
        .batchSize(0)
        .batchWindow(0)
        .build())
    .name("string")
    .predicate(TriggerPredicateArgs.builder()
        .conditions(TriggerPredicateConditionArgs.builder()
            .crawlState("string")
            .crawlerName("string")
            .jobName("string")
            .logicalOperator("string")
            .state("string")
            .build())
        .logical("string")
        .build())
    .schedule("string")
    .startOnCreation(false)
    .tags(Map.of("string", "string"))
    .workflowName("string")
    .build());
aws_trigger_resource = aws.glue.Trigger("awsTriggerResource",
    actions=[{
        "arguments": {
            "string": "string",
        },
        "crawler_name": "string",
        "job_name": "string",
        "notification_property": {
            "notify_delay_after": 0,
        },
        "security_configuration": "string",
        "timeout": 0,
    }],
    type="string",
    description="string",
    enabled=False,
    event_batching_conditions=[{
        "batch_size": 0,
        "batch_window": 0,
    }],
    name="string",
    predicate={
        "conditions": [{
            "crawl_state": "string",
            "crawler_name": "string",
            "job_name": "string",
            "logical_operator": "string",
            "state": "string",
        }],
        "logical": "string",
    },
    schedule="string",
    start_on_creation=False,
    tags={
        "string": "string",
    },
    workflow_name="string")
const awsTriggerResource = new aws.glue.Trigger("awsTriggerResource", {
    actions: [{
        arguments: {
            string: "string",
        },
        crawlerName: "string",
        jobName: "string",
        notificationProperty: {
            notifyDelayAfter: 0,
        },
        securityConfiguration: "string",
        timeout: 0,
    }],
    type: "string",
    description: "string",
    enabled: false,
    eventBatchingConditions: [{
        batchSize: 0,
        batchWindow: 0,
    }],
    name: "string",
    predicate: {
        conditions: [{
            crawlState: "string",
            crawlerName: "string",
            jobName: "string",
            logicalOperator: "string",
            state: "string",
        }],
        logical: "string",
    },
    schedule: "string",
    startOnCreation: false,
    tags: {
        string: "string",
    },
    workflowName: "string",
});
type: aws:glue:Trigger
properties:
    actions:
        - arguments:
            string: string
          crawlerName: string
          jobName: string
          notificationProperty:
            notifyDelayAfter: 0
          securityConfiguration: string
          timeout: 0
    description: string
    enabled: false
    eventBatchingConditions:
        - batchSize: 0
          batchWindow: 0
    name: string
    predicate:
        conditions:
            - crawlState: string
              crawlerName: string
              jobName: string
              logicalOperator: string
              state: string
        logical: string
    schedule: string
    startOnCreation: false
    tags:
        string: string
    type: string
    workflowName: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Trigger resource accepts the following input properties:
- Actions
List<TriggerAction> 
- 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, andSCHEDULED.
- Description string
- A description of the new trigger.
- Enabled bool
- Start the trigger. Defaults to true.
- EventBatching List<TriggerConditions Event Batching Condition> 
- 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
TriggerPredicate 
- 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
- StartOn boolCreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
- Actions
[]TriggerAction Args 
- 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, andSCHEDULED.
- Description string
- A description of the new trigger.
- Enabled bool
- Start the trigger. Defaults to true.
- EventBatching []TriggerConditions Event Batching Condition Args 
- 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
TriggerPredicate Args 
- 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
- StartOn boolCreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- map[string]string
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
- actions
List<TriggerAction> 
- 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, andSCHEDULED.
- description String
- A description of the new trigger.
- enabled Boolean
- Start the trigger. Defaults to true.
- eventBatching List<TriggerConditions Event Batching Condition> 
- 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
TriggerPredicate 
- 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
- startOn BooleanCreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
- actions
TriggerAction[] 
- 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, andSCHEDULED.
- description string
- A description of the new trigger.
- enabled boolean
- Start the trigger. Defaults to true.
- eventBatching TriggerConditions Event Batching Condition[] 
- 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
TriggerPredicate 
- 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
- startOn booleanCreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
- actions
Sequence[TriggerAction Args] 
- 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, andSCHEDULED.
- description str
- A description of the new trigger.
- enabled bool
- Start the trigger. Defaults to true.
- event_batching_ Sequence[Triggerconditions Event Batching Condition Args] 
- 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
TriggerPredicate Args 
- 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_ boolcreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
- 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, andSCHEDULED.
- description String
- A description of the new trigger.
- enabled Boolean
- Start the trigger. Defaults to true.
- eventBatching List<Property Map>Conditions 
- 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
- startOn BooleanCreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- Map<String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
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 current state of the trigger.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- Amazon Resource Name (ARN) of Glue Trigger
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the trigger.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- Amazon Resource Name (ARN) of Glue Trigger
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the trigger.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration 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) -> Triggerfunc 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)resources:  _:    type: aws:glue:Trigger    get:      id: ${id}- 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.
- Actions
List<TriggerAction> 
- 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.
- EventBatching List<TriggerConditions Event Batching Condition> 
- 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
TriggerPredicate 
- 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
- StartOn boolCreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- State string
- The current state of the trigger.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Type string
- The type of trigger. Valid values are CONDITIONAL,EVENT,ON_DEMAND, andSCHEDULED.
- WorkflowName string
- A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
- Actions
[]TriggerAction Args 
- 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.
- EventBatching []TriggerConditions Event Batching Condition Args 
- 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
TriggerPredicate Args 
- 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
- StartOn boolCreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- State string
- The current state of the trigger.
- map[string]string
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Type string
- The type of trigger. Valid values are CONDITIONAL,EVENT,ON_DEMAND, andSCHEDULED.
- WorkflowName string
- A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
- actions
List<TriggerAction> 
- 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.
- eventBatching List<TriggerConditions Event Batching Condition> 
- 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
TriggerPredicate 
- 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
- startOn BooleanCreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- state String
- The current state of the trigger.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type String
- The type of trigger. Valid values are CONDITIONAL,EVENT,ON_DEMAND, andSCHEDULED.
- workflowName String
- A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
- actions
TriggerAction[] 
- 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.
- eventBatching TriggerConditions Event Batching Condition[] 
- 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
TriggerPredicate 
- 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
- startOn booleanCreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- state string
- The current state of the trigger.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type string
- The type of trigger. Valid values are CONDITIONAL,EVENT,ON_DEMAND, andSCHEDULED.
- workflowName string
- A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
- actions
Sequence[TriggerAction Args] 
- 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_ Sequence[Triggerconditions Event Batching Condition Args] 
- 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
TriggerPredicate Args 
- 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_ boolcreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- state str
- The current state of the trigger.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type str
- The type of trigger. Valid values are CONDITIONAL,EVENT,ON_DEMAND, andSCHEDULED.
- workflow_name str
- A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
- 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.
- eventBatching List<Property Map>Conditions 
- 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
- startOn BooleanCreation 
- Set to true to start SCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.
- state String
- The current state of the trigger.
- Map<String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- type String
- The type of trigger. Valid values are CONDITIONAL,EVENT,ON_DEMAND, andSCHEDULED.
- workflowName String
- A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (ON_DEMANDorSCHEDULEDtype) and can contain multiple additionalCONDITIONALtriggers.
Supporting Types
TriggerAction, TriggerActionArgs    
- 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 TriggerAction Notification Property 
- 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 TriggerAction Notification Property 
- 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 TriggerAction Notification Property 
- 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 TriggerAction Notification Property 
- 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 TriggerAction Notification Property 
- 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, TriggerActionNotificationPropertyArgs        
- NotifyDelay intAfter 
- After a job run starts, the number of minutes to wait before sending a job run delay notification.
- NotifyDelay intAfter 
- After a job run starts, the number of minutes to wait before sending a job run delay notification.
- notifyDelay IntegerAfter 
- After a job run starts, the number of minutes to wait before sending a job run delay notification.
- notifyDelay numberAfter 
- After a job run starts, the number of minutes to wait before sending a job run delay notification.
- notify_delay_ intafter 
- After a job run starts, the number of minutes to wait before sending a job run delay notification.
- notifyDelay NumberAfter 
- After a job run starts, the number of minutes to wait before sending a job run delay notification.
TriggerEventBatchingCondition, TriggerEventBatchingConditionArgs        
- 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, TriggerPredicateArgs    
- Conditions
List<TriggerPredicate Condition> 
- 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 areANDorANY.
- Conditions
[]TriggerPredicate Condition 
- 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 areANDorANY.
- conditions
List<TriggerPredicate Condition> 
- 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 areANDorANY.
- conditions
TriggerPredicate Condition[] 
- 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 areANDorANY.
- conditions
Sequence[TriggerPredicate Condition] 
- 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 areANDorANY.
- 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 areANDorANY.
TriggerPredicateCondition, TriggerPredicateConditionArgs      
- CrawlState string
- The condition crawl state. Currently, the values supported are RUNNING,SUCCEEDED,CANCELLED, andFAILED. If this is specified,crawler_namemust also be specified. Conflicts withstate.
- CrawlerName string
- The name of the crawler to watch. If this is specified, crawl_statemust also be specified. Conflicts withjob_name.
- JobName string
- The name of the job to watch. If this is specified, statemust also be specified. Conflicts withcrawler_name.
- LogicalOperator string
- A logical operator. Defaults to EQUALS.
- State string
- The condition job state. Currently, the values supported are SUCCEEDED,STOPPED,TIMEOUTandFAILED. If this is specified,job_namemust also be specified. Conflicts withcrawler_state.
- CrawlState string
- The condition crawl state. Currently, the values supported are RUNNING,SUCCEEDED,CANCELLED, andFAILED. If this is specified,crawler_namemust also be specified. Conflicts withstate.
- CrawlerName string
- The name of the crawler to watch. If this is specified, crawl_statemust also be specified. Conflicts withjob_name.
- JobName string
- The name of the job to watch. If this is specified, statemust also be specified. Conflicts withcrawler_name.
- LogicalOperator string
- A logical operator. Defaults to EQUALS.
- State string
- The condition job state. Currently, the values supported are SUCCEEDED,STOPPED,TIMEOUTandFAILED. If this is specified,job_namemust also be specified. Conflicts withcrawler_state.
- crawlState String
- The condition crawl state. Currently, the values supported are RUNNING,SUCCEEDED,CANCELLED, andFAILED. If this is specified,crawler_namemust also be specified. Conflicts withstate.
- crawlerName String
- The name of the crawler to watch. If this is specified, crawl_statemust also be specified. Conflicts withjob_name.
- jobName String
- The name of the job to watch. If this is specified, statemust also be specified. Conflicts withcrawler_name.
- logicalOperator String
- A logical operator. Defaults to EQUALS.
- state String
- The condition job state. Currently, the values supported are SUCCEEDED,STOPPED,TIMEOUTandFAILED. If this is specified,job_namemust also be specified. Conflicts withcrawler_state.
- crawlState string
- The condition crawl state. Currently, the values supported are RUNNING,SUCCEEDED,CANCELLED, andFAILED. If this is specified,crawler_namemust also be specified. Conflicts withstate.
- crawlerName string
- The name of the crawler to watch. If this is specified, crawl_statemust also be specified. Conflicts withjob_name.
- jobName string
- The name of the job to watch. If this is specified, statemust also be specified. Conflicts withcrawler_name.
- logicalOperator string
- A logical operator. Defaults to EQUALS.
- state string
- The condition job state. Currently, the values supported are SUCCEEDED,STOPPED,TIMEOUTandFAILED. If this is specified,job_namemust also be specified. Conflicts withcrawler_state.
- crawl_state str
- The condition crawl state. Currently, the values supported are RUNNING,SUCCEEDED,CANCELLED, andFAILED. If this is specified,crawler_namemust also be specified. Conflicts withstate.
- crawler_name str
- The name of the crawler to watch. If this is specified, crawl_statemust also be specified. Conflicts withjob_name.
- job_name str
- The name of the job to watch. If this is specified, statemust also be specified. Conflicts withcrawler_name.
- logical_operator str
- A logical operator. Defaults to EQUALS.
- state str
- The condition job state. Currently, the values supported are SUCCEEDED,STOPPED,TIMEOUTandFAILED. If this is specified,job_namemust also be specified. Conflicts withcrawler_state.
- crawlState String
- The condition crawl state. Currently, the values supported are RUNNING,SUCCEEDED,CANCELLED, andFAILED. If this is specified,crawler_namemust also be specified. Conflicts withstate.
- crawlerName String
- The name of the crawler to watch. If this is specified, crawl_statemust also be specified. Conflicts withjob_name.
- jobName String
- The name of the job to watch. If this is specified, statemust also be specified. Conflicts withcrawler_name.
- logicalOperator String
- A logical operator. Defaults to EQUALS.
- state String
- The condition job state. Currently, the values supported are SUCCEEDED,STOPPED,TIMEOUTandFAILED. If this is specified,job_namemust also be specified. Conflicts withcrawler_state.
Import
Using pulumi import, import Glue Triggers using name. For example:
$ pulumi import aws:glue/trigger:Trigger MyTrigger MyTrigger
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.