| Modifier and Type | Method and Description |
|---|---|
BatchJob.Builder |
attempts(Number attempts)
(experimental) The number of times to attempt to retry, if the job fails.
|
BatchJob |
build() |
static BatchJob.Builder |
create(String jobQueueArn,
software.constructs.IConstruct jobQueueScope,
String jobDefinitionArn,
software.constructs.IConstruct jobDefinitionScope) |
BatchJob.Builder |
event(RuleTargetInput event)
(experimental) The event to send to the Lambda.
|
BatchJob.Builder |
jobName(String jobName)
(experimental) The name of the submitted job.
|
BatchJob.Builder |
size(Number size)
(experimental) The size of the array, if this is an array batch job.
|
@Stability(value=Experimental) public static BatchJob.Builder create(String jobQueueArn, software.constructs.IConstruct jobQueueScope, String jobDefinitionArn, software.constructs.IConstruct jobDefinitionScope)
jobQueueArn - The JobQueue arn. This parameter is required.jobQueueScope - The JobQueue Resource. This parameter is required.jobDefinitionArn - The jobDefinition arn. This parameter is required.jobDefinitionScope - The JobQueue Resource. This parameter is required.BatchJob.Builder.@Stability(value=Experimental) public BatchJob.Builder attempts(Number attempts)
Valid values are 1–10.
Default: no retryStrategy is set
attempts - The number of times to attempt to retry, if the job fails. This parameter is required.this@Stability(value=Experimental) public BatchJob.Builder event(RuleTargetInput event)
This will be the payload sent to the Lambda Function.
Default: the entire EventBridge event
event - The event to send to the Lambda. This parameter is required.this@Stability(value=Experimental) public BatchJob.Builder jobName(String jobName)
Default: - Automatically generated
jobName - The name of the submitted job. This parameter is required.this@Stability(value=Experimental) public BatchJob.Builder size(Number size)
Valid values are integers between 2 and 10,000.
Default: no arrayProperties are set
size - The size of the array, if this is an array batch job. This parameter is required.thisCopyright © 2021. All rights reserved.