public static interface CfnComputeEnvironment.UpdatePolicyProperty
For more information about infrastructure updates, see Infrastructure updates in the AWS Batch User Guide .
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.batch.*; UpdatePolicyProperty updatePolicyProperty = UpdatePolicyProperty.builder() .jobExecutionTimeoutMinutes(123) .terminateJobsOnUpdate(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnComputeEnvironment.UpdatePolicyProperty.Builder
A builder for
CfnComputeEnvironment.UpdatePolicyProperty |
static class |
CfnComputeEnvironment.UpdatePolicyProperty.Jsii$Proxy
An implementation for
CfnComputeEnvironment.UpdatePolicyProperty |
Modifier and Type | Method and Description |
---|---|
static CfnComputeEnvironment.UpdatePolicyProperty.Builder |
builder() |
default java.lang.Number |
getJobExecutionTimeoutMinutes()
Specifies the job timeout, in minutes, when the compute environment infrastructure is updated.
|
default java.lang.Object |
getTerminateJobsOnUpdate()
Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.
|
default java.lang.Number getJobExecutionTimeoutMinutes()
The default value is 30.
default java.lang.Object getTerminateJobsOnUpdate()
The default value is false
.
static CfnComputeEnvironment.UpdatePolicyProperty.Builder builder()