Interface CfnTrigger.ConditionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTrigger.ConditionProperty.Jsii$Proxy
Enclosing class:
CfnTrigger

@Stability(Stable) public static interface CfnTrigger.ConditionProperty extends software.amazon.jsii.JsiiSerializable
Defines a condition under which a trigger fires.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.glue.*;
 ConditionProperty conditionProperty = ConditionProperty.builder()
         .crawlerName("crawlerName")
         .crawlState("crawlState")
         .jobName("jobName")
         .logicalOperator("logicalOperator")
         .state("state")
         .build();
 
  • Method Details

    • getCrawlerName

      @Stability(Stable) @Nullable default String getCrawlerName()
      The name of the crawler to which this condition applies.
    • getCrawlState

      @Stability(Stable) @Nullable default String getCrawlState()
      The state of the crawler to which this condition applies.
    • getJobName

      @Stability(Stable) @Nullable default String getJobName()
      The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
    • getLogicalOperator

      @Stability(Stable) @Nullable default String getLogicalOperator()
      A logical operator.
    • getState

      @Stability(Stable) @Nullable default String getState()
      The condition state.

      Currently, the values supported are SUCCEEDED , STOPPED , TIMEOUT , and FAILED .

    • builder

      @Stability(Stable) static CfnTrigger.ConditionProperty.Builder builder()
      Returns:
      a CfnTrigger.ConditionProperty.Builder of CfnTrigger.ConditionProperty