We recommend new projects start with resources from the AWS provider.
aws-native.glue.getTrigger
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Glue::Trigger
Using getTrigger
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTrigger(args: GetTriggerArgs, opts?: InvokeOptions): Promise<GetTriggerResult>
function getTriggerOutput(args: GetTriggerOutputArgs, opts?: InvokeOptions): Output<GetTriggerResult>
def get_trigger(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTriggerResult
def get_trigger_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTriggerResult]
func LookupTrigger(ctx *Context, args *LookupTriggerArgs, opts ...InvokeOption) (*LookupTriggerResult, error)
func LookupTriggerOutput(ctx *Context, args *LookupTriggerOutputArgs, opts ...InvokeOption) LookupTriggerResultOutput
> Note: This function is named LookupTrigger
in the Go SDK.
public static class GetTrigger
{
public static Task<GetTriggerResult> InvokeAsync(GetTriggerArgs args, InvokeOptions? opts = null)
public static Output<GetTriggerResult> Invoke(GetTriggerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTriggerResult> getTrigger(GetTriggerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:glue:getTrigger
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the trigger.
- Name string
- The name of the trigger.
- name String
- The name of the trigger.
- name string
- The name of the trigger.
- name str
- The name of the trigger.
- name String
- The name of the trigger.
getTrigger Result
The following output properties are available:
- Actions
List<Pulumi.
Aws Native. Glue. Outputs. Trigger Action> - The actions initiated by this trigger.
- Description string
- A description of this trigger.
- Event
Batching Pulumi.Condition Aws Native. Glue. Outputs. Trigger Event Batching Condition - Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
- Predicate
Pulumi.
Aws Native. Glue. Outputs. Trigger Predicate - The predicate of this trigger, which defines when it will fire.
- Schedule string
- A cron expression used to specify the schedule.
- 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.
- Actions
[]Trigger
Action - The actions initiated by this trigger.
- Description string
- A description of this trigger.
- Event
Batching TriggerCondition Event Batching Condition - Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
- Predicate
Trigger
Predicate - The predicate of this trigger, which defines when it will fire.
- Schedule string
- A cron expression used to specify the schedule.
- 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.
- actions
List<Trigger
Action> - The actions initiated by this trigger.
- description String
- A description of this trigger.
- event
Batching TriggerCondition Event Batching Condition - Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
- predicate
Trigger
Predicate - The predicate of this trigger, which defines when it will fire.
- schedule String
- A cron expression used to specify the schedule.
- 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.
- actions
Trigger
Action[] - The actions initiated by this trigger.
- description string
- A description of this trigger.
- event
Batching TriggerCondition Event Batching Condition - Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
- predicate
Trigger
Predicate - The predicate of this trigger, which defines when it will fire.
- schedule string
- A cron expression used to specify the schedule.
- 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.
- actions
Sequence[Trigger
Action] - The actions initiated by this trigger.
- description str
- A description of this trigger.
- event_
batching_ Triggercondition Event Batching Condition - Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
- predicate
Trigger
Predicate - The predicate of this trigger, which defines when it will fire.
- schedule str
- A cron expression used to specify the schedule.
- 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.
- actions List<Property Map>
- The actions initiated by this trigger.
- description String
- A description of this trigger.
- event
Batching Property MapCondition - Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
- predicate Property Map
- The predicate of this trigger, which defines when it will fire.
- schedule String
- A cron expression used to specify the schedule.
- 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.
Supporting Types
TriggerAction
- 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.
- Crawler
Name string - The name of the crawler to be used with this action.
- Job
Name string - The name of a job to be executed.
- Notification
Property Pulumi.Aws Native. Glue. Inputs. Trigger Notification Property - Specifies configuration properties of a job run notification.
- Security
Configuration 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.
- Crawler
Name string - The name of the crawler to be used with this action.
- Job
Name string - The name of a job to be executed.
- Notification
Property TriggerNotification Property - Specifies configuration properties of a job run notification.
- Security
Configuration 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.
- crawler
Name String - The name of the crawler to be used with this action.
- job
Name String - The name of a job to be executed.
- notification
Property TriggerNotification Property - Specifies configuration properties of a job run notification.
- security
Configuration 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.
- crawler
Name string - The name of the crawler to be used with this action.
- job
Name string - The name of a job to be executed.
- notification
Property TriggerNotification Property - Specifies configuration properties of a job run notification.
- security
Configuration 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 TriggerNotification Property - 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.
- crawler
Name String - The name of the crawler to be used with this action.
- job
Name String - The name of a job to be executed.
- notification
Property Property Map - Specifies configuration properties of a job run notification.
- security
Configuration 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
- Crawl
State string - The state of the crawler to which this condition applies.
- Crawler
Name string - The name of the crawler to which this condition applies.
- Job
Name string - The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
- Logical
Operator string - A logical operator.
- State string
- The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.
- Crawl
State string - The state of the crawler to which this condition applies.
- Crawler
Name string - The name of the crawler to which this condition applies.
- Job
Name string - The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
- Logical
Operator string - A logical operator.
- State string
- The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.
- crawl
State String - The state of the crawler to which this condition applies.
- crawler
Name String - The name of the crawler to which this condition applies.
- job
Name String - The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
- logical
Operator String - A logical operator.
- state String
- The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.
- crawl
State string - The state of the crawler to which this condition applies.
- crawler
Name string - The name of the crawler to which this condition applies.
- job
Name string - The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
- logical
Operator 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.
- crawl
State String - The state of the crawler to which this condition applies.
- crawler
Name String - The name of the crawler to which this condition applies.
- job
Name String - The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
- logical
Operator String - A logical operator.
- state String
- The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.
TriggerEventBatchingCondition
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
TriggerNotificationProperty
- 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
TriggerPredicate
- Conditions
List<Pulumi.
Aws Native. Glue. Inputs. Trigger Condition> - 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
[]Trigger
Condition - 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<Trigger
Condition> - 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
Trigger
Condition[] - 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[Trigger
Condition] - 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
We recommend new projects start with resources from the AWS provider.