1. Packages
  2. AWS Native
  3. API Docs
  4. glue
  5. Trigger

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.glue.Trigger

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Resource Type definition for AWS::Glue::Trigger

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var onDemandJobTrigger = new AwsNative.Glue.Trigger("onDemandJobTrigger", new()
        {
            Type = "ON_DEMAND",
            Description = "DESCRIPTION_ON_DEMAND",
            Actions = new[]
            {
                new AwsNative.Glue.Inputs.TriggerActionArgs
                {
                    JobName = "prod-job2",
                },
            },
            Name = "prod-trigger1-ondemand",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/glue"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := glue.NewTrigger(ctx, "onDemandJobTrigger", &glue.TriggerArgs{
    			Type:        pulumi.String("ON_DEMAND"),
    			Description: pulumi.String("DESCRIPTION_ON_DEMAND"),
    			Actions: glue.TriggerActionArray{
    				&glue.TriggerActionArgs{
    					JobName: pulumi.String("prod-job2"),
    				},
    			},
    			Name: pulumi.String("prod-trigger1-ondemand"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    on_demand_job_trigger = aws_native.glue.Trigger("onDemandJobTrigger",
        type="ON_DEMAND",
        description="DESCRIPTION_ON_DEMAND",
        actions=[{
            "job_name": "prod-job2",
        }],
        name="prod-trigger1-ondemand")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const onDemandJobTrigger = new aws_native.glue.Trigger("onDemandJobTrigger", {
        type: "ON_DEMAND",
        description: "DESCRIPTION_ON_DEMAND",
        actions: [{
            jobName: "prod-job2",
        }],
        name: "prod-trigger1-ondemand",
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var onDemandJobTrigger = new AwsNative.Glue.Trigger("onDemandJobTrigger", new()
        {
            Type = "ON_DEMAND",
            Description = "DESCRIPTION_ON_DEMAND",
            Actions = new[]
            {
                new AwsNative.Glue.Inputs.TriggerActionArgs
                {
                    JobName = "prod-job2",
                },
            },
            Name = "prod-trigger1-ondemand",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/glue"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := glue.NewTrigger(ctx, "onDemandJobTrigger", &glue.TriggerArgs{
    			Type:        pulumi.String("ON_DEMAND"),
    			Description: pulumi.String("DESCRIPTION_ON_DEMAND"),
    			Actions: glue.TriggerActionArray{
    				&glue.TriggerActionArgs{
    					JobName: pulumi.String("prod-job2"),
    				},
    			},
    			Name: pulumi.String("prod-trigger1-ondemand"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    on_demand_job_trigger = aws_native.glue.Trigger("onDemandJobTrigger",
        type="ON_DEMAND",
        description="DESCRIPTION_ON_DEMAND",
        actions=[{
            "job_name": "prod-job2",
        }],
        name="prod-trigger1-ondemand")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const onDemandJobTrigger = new aws_native.glue.Trigger("onDemandJobTrigger", {
        type: "ON_DEMAND",
        description: "DESCRIPTION_ON_DEMAND",
        actions: [{
            jobName: "prod-job2",
        }],
        name: "prod-trigger1-ondemand",
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var scheduledJobTrigger = new AwsNative.Glue.Trigger("scheduledJobTrigger", new()
        {
            Type = "SCHEDULED",
            Description = "DESCRIPTION_SCHEDULED",
            Schedule = "cron(0 */2 * * ? *)",
            Actions = new[]
            {
                new AwsNative.Glue.Inputs.TriggerActionArgs
                {
                    JobName = "prod-job2",
                },
                new AwsNative.Glue.Inputs.TriggerActionArgs
                {
                    JobName = "prod-job3",
                    Arguments = new Dictionary<string, object?>
                    {
                        ["--job-bookmark-option"] = "job-bookmark-enable",
                    },
                },
            },
            Name = "prod-trigger1-scheduled",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/glue"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := glue.NewTrigger(ctx, "scheduledJobTrigger", &glue.TriggerArgs{
    			Type:        pulumi.String("SCHEDULED"),
    			Description: pulumi.String("DESCRIPTION_SCHEDULED"),
    			Schedule:    pulumi.String("cron(0 */2 * * ? *)"),
    			Actions: glue.TriggerActionArray{
    				&glue.TriggerActionArgs{
    					JobName: pulumi.String("prod-job2"),
    				},
    				&glue.TriggerActionArgs{
    					JobName: pulumi.String("prod-job3"),
    					Arguments: pulumi.Any(map[string]interface{}{
    						"--job-bookmark-option": "job-bookmark-enable",
    					}),
    				},
    			},
    			Name: pulumi.String("prod-trigger1-scheduled"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    scheduled_job_trigger = aws_native.glue.Trigger("scheduledJobTrigger",
        type="SCHEDULED",
        description="DESCRIPTION_SCHEDULED",
        schedule="cron(0 */2 * * ? *)",
        actions=[
            {
                "job_name": "prod-job2",
            },
            {
                "job_name": "prod-job3",
                "arguments": {
                    "__job_bookmark_option": "job-bookmark-enable",
                },
            },
        ],
        name="prod-trigger1-scheduled")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const scheduledJobTrigger = new aws_native.glue.Trigger("scheduledJobTrigger", {
        type: "SCHEDULED",
        description: "DESCRIPTION_SCHEDULED",
        schedule: "cron(0 */2 * * ? *)",
        actions: [
            {
                jobName: "prod-job2",
            },
            {
                jobName: "prod-job3",
                arguments: {
                    "--job-bookmark-option": "job-bookmark-enable",
                },
            },
        ],
        name: "prod-trigger1-scheduled",
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var scheduledJobTrigger = new AwsNative.Glue.Trigger("scheduledJobTrigger", new()
        {
            Type = "SCHEDULED",
            Description = "DESCRIPTION_SCHEDULED",
            Schedule = "cron(0 */2 * * ? *)",
            Actions = new[]
            {
                new AwsNative.Glue.Inputs.TriggerActionArgs
                {
                    JobName = "prod-job2",
                },
                new AwsNative.Glue.Inputs.TriggerActionArgs
                {
                    JobName = "prod-job3",
                    Arguments = new Dictionary<string, object?>
                    {
                        ["--job-bookmark-option"] = "job-bookmark-enable",
                    },
                },
            },
            Name = "prod-trigger1-scheduled",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/glue"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := glue.NewTrigger(ctx, "scheduledJobTrigger", &glue.TriggerArgs{
    			Type:        pulumi.String("SCHEDULED"),
    			Description: pulumi.String("DESCRIPTION_SCHEDULED"),
    			Schedule:    pulumi.String("cron(0 */2 * * ? *)"),
    			Actions: glue.TriggerActionArray{
    				&glue.TriggerActionArgs{
    					JobName: pulumi.String("prod-job2"),
    				},
    				&glue.TriggerActionArgs{
    					JobName: pulumi.String("prod-job3"),
    					Arguments: pulumi.Any(map[string]interface{}{
    						"--job-bookmark-option": "job-bookmark-enable",
    					}),
    				},
    			},
    			Name: pulumi.String("prod-trigger1-scheduled"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    scheduled_job_trigger = aws_native.glue.Trigger("scheduledJobTrigger",
        type="SCHEDULED",
        description="DESCRIPTION_SCHEDULED",
        schedule="cron(0 */2 * * ? *)",
        actions=[
            {
                "job_name": "prod-job2",
            },
            {
                "job_name": "prod-job3",
                "arguments": {
                    "__job_bookmark_option": "job-bookmark-enable",
                },
            },
        ],
        name="prod-trigger1-scheduled")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const scheduledJobTrigger = new aws_native.glue.Trigger("scheduledJobTrigger", {
        type: "SCHEDULED",
        description: "DESCRIPTION_SCHEDULED",
        schedule: "cron(0 */2 * * ? *)",
        actions: [
            {
                jobName: "prod-job2",
            },
            {
                jobName: "prod-job3",
                arguments: {
                    "--job-bookmark-option": "job-bookmark-enable",
                },
            },
        ],
        name: "prod-trigger1-scheduled",
    });
    

    Coming soon!

    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,
                event_batching_condition: Optional[TriggerEventBatchingConditionArgs] = None,
                name: Optional[str] = None,
                predicate: Optional[TriggerPredicateArgs] = None,
                schedule: Optional[str] = None,
                start_on_creation: Optional[bool] = None,
                tags: Optional[Any] = 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-native: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.

    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<Pulumi.AwsNative.Glue.Inputs.TriggerAction>
    The actions initiated by this trigger.
    Type string
    The type of trigger that this is.
    Description string
    A description of this trigger.
    EventBatchingCondition Pulumi.AwsNative.Glue.Inputs.TriggerEventBatchingCondition
    Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
    Name string
    The name of the trigger.
    Predicate Pulumi.AwsNative.Glue.Inputs.TriggerPredicate
    The predicate of this trigger, which defines when it will fire.
    Schedule string
    A cron expression used to specify the schedule.
    StartOnCreation bool
    Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
    Tags object

    The tags to use with this trigger.

    Search the CloudFormation User Guide for AWS::Glue::Trigger for more information about the expected schema for this property.

    WorkflowName string
    The name of the workflow associated with the trigger.
    Actions []TriggerActionArgs
    The actions initiated by this trigger.
    Type string
    The type of trigger that this is.
    Description string
    A description of this trigger.
    EventBatchingCondition TriggerEventBatchingConditionArgs
    Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
    Name string
    The name of the trigger.
    Predicate TriggerPredicateArgs
    The predicate of this trigger, which defines when it will fire.
    Schedule string
    A cron expression used to specify the schedule.
    StartOnCreation bool
    Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
    Tags interface{}

    The tags to use with this trigger.

    Search the CloudFormation User Guide for AWS::Glue::Trigger for more information about the expected schema for this property.

    WorkflowName string
    The name of the workflow associated with the trigger.
    actions List<TriggerAction>
    The actions initiated by this trigger.
    type String
    The type of trigger that this is.
    description String
    A description of this trigger.
    eventBatchingCondition TriggerEventBatchingCondition
    Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
    name String
    The name of the trigger.
    predicate TriggerPredicate
    The predicate of this trigger, which defines when it will fire.
    schedule String
    A cron expression used to specify the schedule.
    startOnCreation Boolean
    Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
    tags Object

    The tags to use with this trigger.

    Search the CloudFormation User Guide for AWS::Glue::Trigger for more information about the expected schema for this property.

    workflowName String
    The name of the workflow associated with the trigger.
    actions TriggerAction[]
    The actions initiated by this trigger.
    type string
    The type of trigger that this is.
    description string
    A description of this trigger.
    eventBatchingCondition TriggerEventBatchingCondition
    Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
    name string
    The name of the trigger.
    predicate TriggerPredicate
    The predicate of this trigger, which defines when it will fire.
    schedule string
    A cron expression used to specify the schedule.
    startOnCreation boolean
    Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
    tags any

    The tags to use with this trigger.

    Search the CloudFormation User Guide for AWS::Glue::Trigger for more information about the expected schema for this property.

    workflowName string
    The name of the workflow associated with the trigger.
    actions Sequence[TriggerActionArgs]
    The actions initiated by this trigger.
    type str
    The type of trigger that this is.
    description str
    A description of this trigger.
    event_batching_condition TriggerEventBatchingConditionArgs
    Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
    name str
    The name of the trigger.
    predicate TriggerPredicateArgs
    The predicate of this trigger, which defines when it will fire.
    schedule str
    A cron expression used to specify the schedule.
    start_on_creation bool
    Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
    tags Any

    The tags to use with this trigger.

    Search the CloudFormation User Guide for AWS::Glue::Trigger for more information about the expected schema for this property.

    workflow_name str
    The name of the workflow associated with the trigger.
    actions List<Property Map>
    The actions initiated by this trigger.
    type String
    The type of trigger that this is.
    description String
    A description of this trigger.
    eventBatchingCondition Property Map
    Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
    name String
    The name of the trigger.
    predicate Property Map
    The predicate of this trigger, which defines when it will fire.
    schedule String
    A cron expression used to specify the schedule.
    startOnCreation Boolean
    Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
    tags Any

    The tags to use with this trigger.

    Search the CloudFormation User Guide for AWS::Glue::Trigger for more information about the expected schema for this property.

    workflowName String
    The name of the workflow associated with the trigger.

    Outputs

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

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

    Supporting Types

    TriggerAction, TriggerActionArgs

    Arguments object
    The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
    CrawlerName string
    The name of the crawler to be used with this action.
    JobName string
    The name of a job to be executed.
    NotificationProperty Pulumi.AwsNative.Glue.Inputs.TriggerNotificationProperty
    Specifies configuration properties of a job run notification.
    SecurityConfiguration string
    The name of the SecurityConfiguration structure to be used with this action.
    Timeout int
    The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.
    Arguments interface{}
    The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
    CrawlerName string
    The name of the crawler to be used with this action.
    JobName string
    The name of a job to be executed.
    NotificationProperty TriggerNotificationProperty
    Specifies configuration properties of a job run notification.
    SecurityConfiguration string
    The name of the SecurityConfiguration structure to be used with this action.
    Timeout int
    The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.
    arguments Object
    The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
    crawlerName String
    The name of the crawler to be used with this action.
    jobName String
    The name of a job to be executed.
    notificationProperty TriggerNotificationProperty
    Specifies configuration properties of a job run notification.
    securityConfiguration String
    The name of the SecurityConfiguration structure to be used with this action.
    timeout Integer
    The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.
    arguments any
    The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
    crawlerName string
    The name of the crawler to be used with this action.
    jobName string
    The name of a job to be executed.
    notificationProperty TriggerNotificationProperty
    Specifies configuration properties of a job run notification.
    securityConfiguration string
    The name of the SecurityConfiguration structure to be used with this action.
    timeout number
    The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.
    arguments Any
    The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
    crawler_name str
    The name of the crawler to be used with this action.
    job_name str
    The name of a job to be executed.
    notification_property TriggerNotificationProperty
    Specifies configuration properties of a job run notification.
    security_configuration str
    The name of the SecurityConfiguration structure to be used with this action.
    timeout int
    The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.
    arguments Any
    The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
    crawlerName String
    The name of the crawler to be used with this action.
    jobName String
    The name of a job to be executed.
    notificationProperty Property Map
    Specifies configuration properties of a job run notification.
    securityConfiguration String
    The name of the SecurityConfiguration structure to be used with this action.
    timeout Number
    The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.

    TriggerCondition, TriggerConditionArgs

    CrawlState string
    The state of the crawler to which this condition applies.
    CrawlerName string
    The name of the crawler to which this condition applies.
    JobName string
    The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
    LogicalOperator string
    A logical operator.
    State string
    The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.
    CrawlState string
    The state of the crawler to which this condition applies.
    CrawlerName string
    The name of the crawler to which this condition applies.
    JobName string
    The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
    LogicalOperator string
    A logical operator.
    State string
    The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.
    crawlState String
    The state of the crawler to which this condition applies.
    crawlerName String
    The name of the crawler to which this condition applies.
    jobName String
    The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
    logicalOperator String
    A logical operator.
    state String
    The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.
    crawlState string
    The state of the crawler to which this condition applies.
    crawlerName string
    The name of the crawler to which this condition applies.
    jobName string
    The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
    logicalOperator string
    A logical operator.
    state string
    The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.
    crawl_state str
    The state of the crawler to which this condition applies.
    crawler_name str
    The name of the crawler to which this condition applies.
    job_name str
    The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
    logical_operator str
    A logical operator.
    state str
    The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.
    crawlState String
    The state of the crawler to which this condition applies.
    crawlerName String
    The name of the crawler to which this condition applies.
    jobName String
    The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
    logicalOperator String
    A logical operator.
    state String
    The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.

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

    TriggerNotificationProperty, TriggerNotificationPropertyArgs

    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

    TriggerPredicate, TriggerPredicateArgs

    Conditions List<Pulumi.AwsNative.Glue.Inputs.TriggerCondition>
    A list of the conditions that determine when the trigger will fire.
    Logical string
    An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
    Conditions []TriggerCondition
    A list of the conditions that determine when the trigger will fire.
    Logical string
    An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
    conditions List<TriggerCondition>
    A list of the conditions that determine when the trigger will fire.
    logical String
    An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
    conditions TriggerCondition[]
    A list of the conditions that determine when the trigger will fire.
    logical string
    An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
    conditions Sequence[TriggerCondition]
    A list of the conditions that determine when the trigger will fire.
    logical str
    An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
    conditions List<Property Map>
    A list of the conditions that determine when the trigger will fire.
    logical String
    An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi