@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:50.381Z")
@Deprecated
public interface RunBatchJobProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; import software.amazon.awscdk.services.stepfunctions.*; import software.amazon.awscdk.services.stepfunctions.tasks.*; import software.amazon.awscdk.core.*; InstanceType instanceType; Object payload; RunBatchJobProps runBatchJobProps = RunBatchJobProps.builder() .jobDefinitionArn("jobDefinitionArn") .jobName("jobName") .jobQueueArn("jobQueueArn") // the properties below are optional .arraySize(123) .attempts(123) .containerOverrides(ContainerOverrides.builder() .command(List.of("command")) .environment(Map.of( "environmentKey", "environment")) .gpuCount(123) .instanceType(instanceType) .memory(123) .vcpus(123) .build()) .dependsOn(List.of(JobDependency.builder() .jobId("jobId") .type("type") .build())) .integrationPattern(ServiceIntegrationPattern.FIRE_AND_FORGET) .payload(Map.of( "payloadKey", payload)) .timeout(Duration.minutes(30)) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
RunBatchJobProps.Builder
Deprecated.
|
static class |
RunBatchJobProps.Jsii$Proxy
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RunBatchJobProps.Builder |
builder()
Deprecated.
|
default java.lang.Number |
getArraySize()
Deprecated.
|
default java.lang.Number |
getAttempts()
Deprecated.
|
default ContainerOverrides |
getContainerOverrides()
Deprecated.
|
default java.util.List<JobDependency> |
getDependsOn()
Deprecated.
|
default ServiceIntegrationPattern |
getIntegrationPattern()
Deprecated.
|
java.lang.String |
getJobDefinitionArn()
Deprecated.
|
java.lang.String |
getJobName()
Deprecated.
|
java.lang.String |
getJobQueueArn()
Deprecated.
|
default java.util.Map<java.lang.String,java.lang.Object> |
getPayload()
Deprecated.
|
default Duration |
getTimeout()
Deprecated.
|
@Deprecated java.lang.String getJobDefinitionArn()
@Deprecated java.lang.String getJobName()
The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
@Deprecated java.lang.String getJobQueueArn()
@Deprecated default java.lang.Number getArraySize()
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
@Deprecated default java.lang.Number getAttempts()
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
@Deprecated default ContainerOverrides getContainerOverrides()
Default: - No container overrides
@Deprecated default java.util.List<JobDependency> getDependsOn()
A job can depend upon a maximum of 20 jobs.
Default: - No dependencies
@Deprecated default ServiceIntegrationPattern getIntegrationPattern()
The valid value is either FIRE_AND_FORGET or SYNC.
Default: SYNC
@Deprecated default java.util.Map<java.lang.String,java.lang.Object> getPayload()
Default: - No parameters are passed
@Deprecated default Duration getTimeout()
The minimum value for the timeout is 60 seconds.
Default: - No timeout
@Deprecated static RunBatchJobProps.Builder builder()
RunBatchJobProps.Builder
of RunBatchJobProps