@Stability(value=Experimental) public static final class BatchSubmitJob.Builder extends Object implements software.amazon.jsii.Builder<BatchSubmitJob>
BatchSubmitJob
.Modifier and Type | Method and Description |
---|---|
BatchSubmitJob.Builder |
arraySize(Number arraySize)
(experimental) The array size can be between 2 and 10,000.
|
BatchSubmitJob.Builder |
attempts(Number attempts)
(experimental) The number of times to move a job to the RUNNABLE status.
|
BatchSubmitJob |
build() |
BatchSubmitJob.Builder |
comment(String comment)
(experimental) An optional description for this state.
|
BatchSubmitJob.Builder |
containerOverrides(BatchContainerOverrides containerOverrides)
(experimental) A list of container overrides in JSON format that specify the name of a container in the specified job definition and the overrides it should receive.
|
static BatchSubmitJob.Builder |
create(software.constructs.Construct scope,
String id) |
BatchSubmitJob.Builder |
dependsOn(List<? extends BatchJobDependency> dependsOn)
(experimental) A list of dependencies for the job.
|
BatchSubmitJob.Builder |
heartbeat(Duration heartbeat)
(experimental) Timeout for the heartbeat.
|
BatchSubmitJob.Builder |
inputPath(String inputPath)
(experimental) JSONPath expression to select part of the state to be the input to this state.
|
BatchSubmitJob.Builder |
integrationPattern(IntegrationPattern integrationPattern)
(experimental) AWS Step Functions integrates with services directly in the Amazon States Language.
|
BatchSubmitJob.Builder |
jobDefinitionArn(String jobDefinitionArn)
(experimental) The arn of the job definition used by this job.
|
BatchSubmitJob.Builder |
jobName(String jobName)
(experimental) The name of the job.
|
BatchSubmitJob.Builder |
jobQueueArn(String jobQueueArn)
(experimental) The arn of the job queue into which the job is submitted.
|
BatchSubmitJob.Builder |
outputPath(String outputPath)
(experimental) JSONPath expression to select select a portion of the state output to pass to the next state.
|
BatchSubmitJob.Builder |
payload(TaskInput payload)
(experimental) The payload to be passed as parameters to the batch job.
|
BatchSubmitJob.Builder |
resultPath(String resultPath)
(experimental) JSONPath expression to indicate where to inject the state's output.
|
BatchSubmitJob.Builder |
resultSelector(Map<String,? extends Object> resultSelector)
(experimental) The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
|
BatchSubmitJob.Builder |
timeout(Duration timeout)
(experimental) Timeout for the state machine.
|
@Stability(value=Experimental) public static BatchSubmitJob.Builder create(software.constructs.Construct scope, String id)
scope
- This parameter is required.id
- This parameter is required.BatchSubmitJob.Builder
.@Stability(value=Experimental) public BatchSubmitJob.Builder comment(String comment)
Default: - No comment
comment
- An optional description for this state. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder heartbeat(Duration heartbeat)
Default: - None
heartbeat
- Timeout for the heartbeat. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder inputPath(String inputPath)
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: - The entire task input (JSON path '$')
inputPath
- JSONPath expression to select part of the state to be the input to this state. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder integrationPattern(IntegrationPattern integrationPattern)
You can control these AWS services using service integration patterns
Default: IntegrationPattern.REQUEST_RESPONSE
integrationPattern
- AWS Step Functions integrates with services directly in the Amazon States Language. This parameter is required.this
https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token
@Stability(value=Experimental) public BatchSubmitJob.Builder outputPath(String outputPath)
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')
outputPath
- JSONPath expression to select select a portion of the state output to pass to the next state. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder resultPath(String resultPath)
May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: - Replaces the entire input with the result (JSON path '$')
resultPath
- JSONPath expression to indicate where to inject the state's output. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder resultSelector(Map<String,? extends Object> resultSelector)
You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
resultSelector
- The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. This parameter is required.this
https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-resultselector
@Stability(value=Experimental) public BatchSubmitJob.Builder timeout(Duration timeout)
Default: - None
timeout
- Timeout for the state machine. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder jobDefinitionArn(String jobDefinitionArn)
jobDefinitionArn
- The arn of the job definition used by this job. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder jobName(String jobName)
The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
jobName
- The name of the job. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder jobQueueArn(String jobQueueArn)
jobQueueArn
- The arn of the job queue into which the job is submitted. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder arraySize(Number arraySize)
If you specify array properties for a job, it becomes an array job. For more information, see Array Jobs in the AWS Batch User Guide.
Default: - No array size
arraySize
- The array size can be between 2 and 10,000. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder attempts(Number attempts)
You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.
Default: 1
attempts
- The number of times to move a job to the RUNNABLE status. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob.Builder containerOverrides(BatchContainerOverrides containerOverrides)
Default: - No container overrides
containerOverrides
- A list of container overrides in JSON format that specify the name of a container in the specified job definition and the overrides it should receive. This parameter is required.this
https://docs.aws.amazon.com/batch/latest/APIReference/API_SubmitJob.html#Batch-SubmitJob-request-containerOverrides
@Stability(value=Experimental) public BatchSubmitJob.Builder dependsOn(List<? extends BatchJobDependency> dependsOn)
A job can depend upon a maximum of 20 jobs.
Default: - No dependencies
dependsOn
- A list of dependencies for the job. This parameter is required.this
https://docs.aws.amazon.com/batch/latest/APIReference/API_SubmitJob.html#Batch-SubmitJob-request-dependsOn
@Stability(value=Experimental) public BatchSubmitJob.Builder payload(TaskInput payload)
Default: - No parameters are passed
payload
- The payload to be passed as parameters to the batch job. This parameter is required.this
@Stability(value=Experimental) public BatchSubmitJob build()
build
in interface software.amazon.jsii.Builder<BatchSubmitJob>
Copyright © 2021. All rights reserved.