Class TriggerArgs


  • public final class TriggerArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TriggerArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static TriggerArgs Empty  
    • Method Detail

      • actions

        public com.pulumi.core.Output<java.util.List<TriggerActionArgs>> actions()
        Returns:
        List of actions initiated by this trigger when it fires. See Actions Below.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        A description of the new trigger.
      • enabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enabled()
        Returns:
        Start the trigger. Defaults to `true`.
      • eventBatchingConditions

        public java.util.Optional<com.pulumi.core.Output<java.util.List<TriggerEventBatchingConditionArgs>>> eventBatchingConditions()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The name of the trigger.
      • predicate

        public java.util.Optional<com.pulumi.core.Output<TriggerPredicateArgs>> predicate()
        Returns:
        A predicate to specify when the new trigger should fire. Required when trigger type is `CONDITIONAL`. See Predicate Below.
      • schedule

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> schedule()
        Returns:
        A cron expression used to specify the schedule. [Time-Based Schedules for Jobs and Crawlers](https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html)
      • startOnCreation

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> startOnCreation()
        Returns:
        Set to true to start `SCHEDULED` and `CONDITIONAL` triggers when created. True is not supported for `ON_DEMAND` triggers.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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.
      • type

        public com.pulumi.core.Output<java.lang.String> type()
        Returns:
        The type of trigger. Valid values are `CONDITIONAL`, `EVENT`, `ON_DEMAND`, and `SCHEDULED`.
      • workflowName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> workflowName()
        Returns:
        A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs a starting trigger (`ON_DEMAND` or `SCHEDULED` type) and can contain multiple additional `CONDITIONAL` triggers.