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<Trigger
Action> - 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
. - Event
Batching 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
Trigger
Predicate - 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
- Start
On boolCreation - Set to true to start
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Workflow
Name string - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
- Actions
[]Trigger
Action 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
. - Event
Batching []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
Trigger
Predicate 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
- Start
On boolCreation - Set to true to start
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - map[string]string
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Workflow
Name string - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
- actions
List<Trigger
Action> - 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
. - event
Batching 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
Trigger
Predicate - 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
- start
On BooleanCreation - Set to true to start
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - Map<String,String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - workflow
Name String - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
- actions
Trigger
Action[] - 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
. - event
Batching 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
Trigger
Predicate - 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
- start
On booleanCreation - Set to true to start
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - workflow
Name string - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
- actions
Sequence[Trigger
Action 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
Trigger
Predicate 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
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - workflow_
name str - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
- actions List<Property Map>
- List of actions initiated by this trigger when it fires. See Actions Below.
- type String
- The type of trigger. Valid values are
CONDITIONAL
,EVENT
,ON_DEMAND
, andSCHEDULED
. - description String
- A description of the new trigger.
- enabled Boolean
- Start the trigger. Defaults to
true
. - event
Batching 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
- start
On BooleanCreation - Set to true to start
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - Map<String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - workflow
Name String - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
Outputs
All input properties are implicitly available as output properties. Additionally, the Trigger resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of Glue Trigger
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The current state of the trigger.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- Amazon Resource Name (ARN) of Glue Trigger
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The current state of the trigger.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- Amazon Resource Name (ARN) of Glue Trigger
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The current state of the trigger.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing Trigger Resource
Get an existing Trigger resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TriggerState, opts?: CustomResourceOptions): Trigger
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[Sequence[TriggerActionArgs]] = None,
arn: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
event_batching_conditions: Optional[Sequence[TriggerEventBatchingConditionArgs]] = None,
name: Optional[str] = None,
predicate: Optional[TriggerPredicateArgs] = None,
schedule: Optional[str] = None,
start_on_creation: Optional[bool] = None,
state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
type: Optional[str] = None,
workflow_name: Optional[str] = None) -> Trigger
func GetTrigger(ctx *Context, name string, id IDInput, state *TriggerState, opts ...ResourceOption) (*Trigger, error)
public static Trigger Get(string name, Input<string> id, TriggerState? state, CustomResourceOptions? opts = null)
public static Trigger get(String name, Output<String> id, TriggerState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Actions
List<Trigger
Action> - 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
. - Event
Batching 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
Trigger
Predicate - 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
- Start
On boolCreation - Set to true to start
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - State string
- The current state of the trigger.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Type string
- The type of trigger. Valid values are
CONDITIONAL
,EVENT
,ON_DEMAND
, andSCHEDULED
. - Workflow
Name string - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
- Actions
[]Trigger
Action 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
. - Event
Batching []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
Trigger
Predicate 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
- Start
On boolCreation - Set to true to start
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - State string
- The current state of the trigger.
- map[string]string
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Type string
- The type of trigger. Valid values are
CONDITIONAL
,EVENT
,ON_DEMAND
, andSCHEDULED
. - Workflow
Name string - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
- actions
List<Trigger
Action> - 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
. - event
Batching 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
Trigger
Predicate - 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
- start
On BooleanCreation - Set to true to start
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - state String
- The current state of the trigger.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - type String
- The type of trigger. Valid values are
CONDITIONAL
,EVENT
,ON_DEMAND
, andSCHEDULED
. - workflow
Name String - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
- actions
Trigger
Action[] - 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
. - event
Batching 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
Trigger
Predicate - 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
- start
On booleanCreation - Set to true to start
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - state string
- The current state of the trigger.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - type string
- The type of trigger. Valid values are
CONDITIONAL
,EVENT
,ON_DEMAND
, andSCHEDULED
. - workflow
Name string - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
- actions
Sequence[Trigger
Action 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
Trigger
Predicate 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
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - state str
- The current state of the trigger.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - type str
- The type of trigger. Valid values are
CONDITIONAL
,EVENT
,ON_DEMAND
, andSCHEDULED
. - workflow_
name str - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
- actions List<Property Map>
- List of actions initiated by this trigger when it fires. See Actions Below.
- arn String
- Amazon Resource Name (ARN) of Glue Trigger
- description String
- A description of the new trigger.
- enabled Boolean
- Start the trigger. Defaults to
true
. - event
Batching 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
- start
On BooleanCreation - Set to true to start
SCHEDULED
andCONDITIONAL
triggers when created. True is not supported forON_DEMAND
triggers. - state String
- The current state of the trigger.
- Map<String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - type String
- The type of trigger. Valid values are
CONDITIONAL
,EVENT
,ON_DEMAND
, andSCHEDULED
. - workflow
Name String - A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (
ON_DEMAND
orSCHEDULED
type) and can contain multiple additionalCONDITIONAL
triggers.
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.
- Crawler
Name string - The name of the crawler to be executed. Conflicts with
job_name
. - Job
Name string - 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 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.
- Crawler
Name string - The name of the crawler to be executed. Conflicts with
job_name
. - Job
Name string - 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 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.
- crawler
Name String - The name of the crawler to be executed. Conflicts with
job_name
. - job
Name String - 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 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.
- crawler
Name string - The name of the crawler to be executed. Conflicts with
job_name
. - job
Name string - 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 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.
- crawler
Name String - The name of the crawler to be executed. Conflicts with
job_name
. - job
Name String - The name of a job to be executed. Conflicts with
crawler_name
. - notification
Property Property Map - Specifies configuration properties of a job run notification. See Notification Property details below.
- security
Configuration 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
- Notify
Delay intAfter - 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.
- notify
Delay IntegerAfter - After a job run starts, the number of minutes to wait before sending a job run delay notification.
- notify
Delay 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.
- notify
Delay NumberAfter - After a job run starts, the number of minutes to wait before sending a job run delay notification.
TriggerEventBatchingCondition, TriggerEventBatchingConditionArgs
- 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
.
- 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
.
- batch
Size Integer - Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
- batch
Window Integer - Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received. Default value is
900
.
- batch
Size number - Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
- batch
Window 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
.
- batch
Size Number - Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
- batch
Window 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<Trigger
Predicate 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 areAND
orANY
.
- Conditions
[]Trigger
Predicate 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 areAND
orANY
.
- conditions
List<Trigger
Predicate 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 areAND
orANY
.
- conditions
Trigger
Predicate 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 areAND
orANY
.
- conditions
Sequence[Trigger
Predicate 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 areAND
orANY
.
- 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 areAND
orANY
.
TriggerPredicateCondition, TriggerPredicateConditionArgs
- Crawl
State string - The condition crawl state. Currently, the values supported are
RUNNING
,SUCCEEDED
,CANCELLED
, andFAILED
. If this is specified,crawler_name
must also be specified. Conflicts withstate
. - Crawler
Name string - The name of the crawler to watch. If this is specified,
crawl_state
must also be specified. Conflicts withjob_name
. - Job
Name string - The name of the job to watch. If this is specified,
state
must also be specified. Conflicts withcrawler_name
. - Logical
Operator string - A logical operator. Defaults to
EQUALS
. - State string
- The condition job state. Currently, the values supported are
SUCCEEDED
,STOPPED
,TIMEOUT
andFAILED
. If this is specified,job_name
must also be specified. Conflicts withcrawler_state
.
- Crawl
State string - The condition crawl state. Currently, the values supported are
RUNNING
,SUCCEEDED
,CANCELLED
, andFAILED
. If this is specified,crawler_name
must also be specified. Conflicts withstate
. - Crawler
Name string - The name of the crawler to watch. If this is specified,
crawl_state
must also be specified. Conflicts withjob_name
. - Job
Name string - The name of the job to watch. If this is specified,
state
must also be specified. Conflicts withcrawler_name
. - Logical
Operator string - A logical operator. Defaults to
EQUALS
. - State string
- The condition job state. Currently, the values supported are
SUCCEEDED
,STOPPED
,TIMEOUT
andFAILED
. If this is specified,job_name
must also be specified. Conflicts withcrawler_state
.
- crawl
State String - The condition crawl state. Currently, the values supported are
RUNNING
,SUCCEEDED
,CANCELLED
, andFAILED
. If this is specified,crawler_name
must also be specified. Conflicts withstate
. - crawler
Name String - The name of the crawler to watch. If this is specified,
crawl_state
must also be specified. Conflicts withjob_name
. - job
Name String - The name of the job to watch. If this is specified,
state
must also be specified. Conflicts withcrawler_name
. - logical
Operator String - A logical operator. Defaults to
EQUALS
. - state String
- The condition job state. Currently, the values supported are
SUCCEEDED
,STOPPED
,TIMEOUT
andFAILED
. If this is specified,job_name
must also be specified. Conflicts withcrawler_state
.
- crawl
State string - The condition crawl state. Currently, the values supported are
RUNNING
,SUCCEEDED
,CANCELLED
, andFAILED
. If this is specified,crawler_name
must also be specified. Conflicts withstate
. - crawler
Name string - The name of the crawler to watch. If this is specified,
crawl_state
must also be specified. Conflicts withjob_name
. - job
Name string - The name of the job to watch. If this is specified,
state
must also be specified. Conflicts withcrawler_name
. - logical
Operator string - A logical operator. Defaults to
EQUALS
. - state string
- The condition job state. Currently, the values supported are
SUCCEEDED
,STOPPED
,TIMEOUT
andFAILED
. If this is specified,job_name
must 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_name
must also be specified. Conflicts withstate
. - crawler_
name str - The name of the crawler to watch. If this is specified,
crawl_state
must also be specified. Conflicts withjob_name
. - job_
name str - The name of the job to watch. If this is specified,
state
must 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
,TIMEOUT
andFAILED
. If this is specified,job_name
must also be specified. Conflicts withcrawler_state
.
- crawl
State String - The condition crawl state. Currently, the values supported are
RUNNING
,SUCCEEDED
,CANCELLED
, andFAILED
. If this is specified,crawler_name
must also be specified. Conflicts withstate
. - crawler
Name String - The name of the crawler to watch. If this is specified,
crawl_state
must also be specified. Conflicts withjob_name
. - job
Name String - The name of the job to watch. If this is specified,
state
must also be specified. Conflicts withcrawler_name
. - logical
Operator String - A logical operator. Defaults to
EQUALS
. - state String
- The condition job state. Currently, the values supported are
SUCCEEDED
,STOPPED
,TIMEOUT
andFAILED
. If this is specified,job_name
must 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
aws
Terraform Provider.