@Stability(value=Stable) @Internal public static final class BatchJobProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BatchJobProps
BatchJobPropssoftware.amazon.jsii.JsiiObject.InitializationModeBatchJobProps.Builder, BatchJobProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(BatchJobProps.Builder builder)
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.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getAttempts()
The number of times to attempt to retry, if the job fails.
|
IQueue |
getDeadLetterQueue()
The SQS queue to be used as deadLetterQueue.
|
RuleTargetInput |
getEvent()
The event to send to the Lambda.
|
String |
getJobName()
The name of the submitted job.
|
Duration |
getMaxEventAge()
The maximum age of a request that Lambda sends to a function for processing.
|
Number |
getRetryAttempts()
The maximum number of times to retry when the function returns an error.
|
Number |
getSize()
The size of the array, if this is an array batch job.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(BatchJobProps.Builder builder)
BatchJobProps.Builder.public final Number getAttempts()
BatchJobPropsValid values are 1–10.
Default: no retryStrategy is set
getAttempts in interface BatchJobPropspublic final RuleTargetInput getEvent()
BatchJobPropsThis will be the payload sent to the Lambda Function.
Default: the entire EventBridge event
getEvent in interface BatchJobPropspublic final String getJobName()
BatchJobPropsDefault: - Automatically generated
getJobName in interface BatchJobPropspublic final Number getSize()
BatchJobPropsValid values are integers between 2 and 10,000.
Default: no arrayProperties are set
getSize in interface BatchJobPropspublic final IQueue getDeadLetterQueue()
TargetBasePropsThe 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
getDeadLetterQueue in interface TargetBasePropspublic final Duration getMaxEventAge()
TargetBasePropsMinimum value of 60. Maximum value of 86400.
Default: Duration.hours(24)
getMaxEventAge in interface TargetBasePropspublic final Number getRetryAttempts()
TargetBasePropsMinimum value of 0. Maximum value of 185.
Default: 185
getRetryAttempts in interface TargetBaseProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.