Interface BatchSubmitJobJsonataProps
- All Superinterfaces:
AssignableStateOptions
,software.amazon.jsii.JsiiSerializable
,JsonataCommonOptions
,StateBaseProps
,TaskStateBaseOptions
,TaskStateJsonataBaseProps
- All Known Implementing Classes:
BatchSubmitJobJsonataProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-06-13T09:19:47.226Z")
@Stability(Stable)
public interface BatchSubmitJobJsonataProps
extends software.amazon.jsii.JsiiSerializable, TaskStateJsonataBaseProps
Properties for BatchSubmitJob using JSONata.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; import software.amazon.awscdk.services.ec2.*; import software.amazon.awscdk.services.stepfunctions.*; import software.amazon.awscdk.services.stepfunctions.tasks.*; Object assign; InstanceType instanceType; Object outputs; Size size; TaskInput taskInput; TaskRole taskRole; Timeout timeout; BatchSubmitJobJsonataProps batchSubmitJobJsonataProps = BatchSubmitJobJsonataProps.builder() .jobDefinitionArn("jobDefinitionArn") .jobName("jobName") .jobQueueArn("jobQueueArn") // the properties below are optional .arraySize(123) .assign(Map.of( "assignKey", assign)) .attempts(123) .comment("comment") .containerOverrides(BatchContainerOverrides.builder() .command(List.of("command")) .environment(Map.of( "environmentKey", "environment")) .gpuCount(123) .instanceType(instanceType) .memory(size) .vcpus(123) .build()) .credentials(Credentials.builder() .role(taskRole) .build()) .dependsOn(List.of(BatchJobDependency.builder() .jobId("jobId") .type("type") .build())) .heartbeat(Duration.minutes(30)) .heartbeatTimeout(timeout) .integrationPattern(IntegrationPattern.REQUEST_RESPONSE) .outputs(outputs) .payload(taskInput) .queryLanguage(QueryLanguage.JSON_PATH) .stateName("stateName") .tags(Map.of( "tagsKey", "tags")) .taskTimeout(timeout) .timeout(Duration.minutes(30)) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forBatchSubmitJobJsonataProps
static final class
An implementation forBatchSubmitJobJsonataProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
The array size can be between 2 and 10,000.default Number
The number of times to move a job to the RUNNABLE status.default BatchContainerOverrides
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.default List
<BatchJobDependency> A list of dependencies for the job.The arn of the job definition used by this job.The name of the job.The arn of the job queue into which the job is submitted.default TaskInput
The payload to be passed as parameters to the batch job.getTags()
The tags applied to the job request.Methods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptions
getAssign
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonataCommonOptions
getOutputs
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateName
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptions
getCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeout
-
Method Details
-
getJobDefinitionArn
The arn of the job definition used by this job. -
getJobName
The name of the job.The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
-
getJobQueueArn
The arn of the job queue into which the job is submitted. -
getArraySize
The array size can be between 2 and 10,000.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
-
getAttempts
The number of times to move a job to the RUNNABLE status.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
-
getContainerOverrides
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.Default: - No container overrides
- See Also:
-
getDependsOn
A list of dependencies for the job.A job can depend upon a maximum of 20 jobs.
Default: - No dependencies
- See Also:
-
getPayload
The payload to be passed as parameters to the batch job.Default: - No parameters are passed
-
getTags
The tags applied to the job request.Default: {} - no tags
-
builder
- Returns:
- a
BatchSubmitJobJsonataProps.Builder
ofBatchSubmitJobJsonataProps
-