Class BatchJobProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.events.targets.BatchJobProps.Jsii$Proxy
All Implemented Interfaces:
BatchJobProps, TargetBaseProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
BatchJobProps

@Stability(Stable) @Internal public static final class BatchJobProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BatchJobProps
An implementation for BatchJobProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.events.targets.BatchJobProps

    BatchJobProps.Builder, BatchJobProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the BatchJobProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Number
    The number of times to attempt to retry, if the job fails.
    final IQueue
    The SQS queue to be used as deadLetterQueue.
    The event to send to the Lambda.
    final String
    The name of the submitted job.
    final Duration
    The maximum age of a request that Lambda sends to a function for processing.
    final Number
    The maximum number of times to retry when the function returns an error.
    final Number
    The size of the array, if this is an array batch job.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(BatchJobProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BatchJobProps.Builder.
  • Method Details

    • getAttempts

      public final Number getAttempts()
      Description copied from interface: BatchJobProps
      The number of times to attempt to retry, if the job fails.

      Valid values are 1–10.

      Default: no retryStrategy is set

      Specified by:
      getAttempts in interface BatchJobProps
    • getEvent

      public final RuleTargetInput getEvent()
      Description copied from interface: BatchJobProps
      The event to send to the Lambda.

      This will be the payload sent to the Lambda Function.

      Default: the entire EventBridge event

      Specified by:
      getEvent in interface BatchJobProps
    • getJobName

      public final String getJobName()
      Description copied from interface: BatchJobProps
      The name of the submitted job.

      Default: - Automatically generated

      Specified by:
      getJobName in interface BatchJobProps
    • getSize

      public final Number getSize()
      Description copied from interface: BatchJobProps
      The size of the array, if this is an array batch job.

      Valid values are integers between 2 and 10,000.

      Default: no arrayProperties are set

      Specified by:
      getSize in interface BatchJobProps
    • getDeadLetterQueue

      public final IQueue getDeadLetterQueue()
      Description copied from interface: TargetBaseProps
      The SQS queue to be used as deadLetterQueue. Check out the considerations for using a dead-letter queue.

      The events not successfully delivered are automatically retried for a specified period of time, depending on the retry policy of the target. If an event is not delivered before all retry attempts are exhausted, it will be sent to the dead letter queue.

      Default: - no dead-letter queue

      Specified by:
      getDeadLetterQueue in interface TargetBaseProps
    • getMaxEventAge

      public final Duration getMaxEventAge()
      Description copied from interface: TargetBaseProps
      The maximum age of a request that Lambda sends to a function for processing.

      Minimum value of 60. Maximum value of 86400.

      Default: Duration.hours(24)

      Specified by:
      getMaxEventAge in interface TargetBaseProps
    • getRetryAttempts

      public final Number getRetryAttempts()
      Description copied from interface: TargetBaseProps
      The maximum number of times to retry when the function returns an error.

      Minimum value of 0. Maximum value of 185.

      Default: 185

      Specified by:
      getRetryAttempts in interface TargetBaseProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object