@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T17:53:15.617Z") @Stability(value=Experimental) public interface JobDefinitionProps extends software.amazon.jsii.JsiiSerializable
JobDefinition construct.| Modifier and Type | Interface and Description |
|---|---|
static class |
JobDefinitionProps.Builder
A builder for
JobDefinitionProps |
static class |
JobDefinitionProps.Jsii$Proxy
An implementation for
JobDefinitionProps |
| Modifier and Type | Method and Description |
|---|---|
static JobDefinitionProps.Builder |
builder() |
JobDefinitionContainer |
getContainer()
(experimental) An object with various properties specific to container-based jobs.
|
default String |
getJobDefinitionName()
(experimental) The name of the job definition.
|
default IMultiNodeProps |
getNodeProps()
(experimental) An object with various properties specific to multi-node parallel jobs.
|
default Map<String,String> |
getParameters()
(experimental) When you submit a job, you can specify parameters that should replace the placeholders or override the default job definition parameters.
|
default Number |
getRetryAttempts()
(experimental) The number of times to move a job to the RUNNABLE status.
|
default Duration |
getTimeout()
(experimental) The timeout configuration for jobs that are submitted with this job definition.
|
@Stability(value=Experimental) @NotNull JobDefinitionContainer getContainer()
@Stability(value=Experimental) @Nullable default String getJobDefinitionName()
Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
Default: Cloudformation-generated name
@Stability(value=Experimental) @Nullable default IMultiNodeProps getNodeProps()
Default: - undefined
@Stability(value=Experimental) @Nullable default Map<String,String> getParameters()
Parameters in job submission requests take precedence over the defaults in a job definition. This allows you to use the same job definition for multiple jobs that use the same format, and programmatically change values in the command at submission time.
Default: - undefined
@Stability(value=Experimental) @Nullable default Number getRetryAttempts()
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
@Stability(value=Experimental) @Nullable default Duration getTimeout()
You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished.
Default: - undefined
@Stability(value=Experimental) static JobDefinitionProps.Builder builder()
JobDefinitionProps.Builder of JobDefinitionPropsCopyright © 2021. All rights reserved.