Interface CfnComputeEnvironment.UpdatePolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComputeEnvironment.UpdatePolicyProperty.Jsii$Proxy
- Enclosing class:
CfnComputeEnvironment
@Stability(Stable)
public static interface CfnComputeEnvironment.UpdatePolicyProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the infrastructure update policy for the compute environment.
For more information about infrastructure updates, see Updating compute environments 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnComputeEnvironment.UpdatePolicyProperty
static final class
An implementation forCfnComputeEnvironment.UpdatePolicyProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJobExecutionTimeoutMinutes
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.The default value is 30.
Default: - 30
- See Also:
-
getTerminateJobsOnUpdate
Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.The default value is
false
.Default: - false
- See Also:
-
builder
-