@Stability(value=Stable)
public static interface CfnComputeEnvironment.UpdatePolicyProperty
extends software.amazon.jsii.JsiiSerializable
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 Number |
getJobExecutionTimeoutMinutes()
Specifies the job timeout, in minutes, when the compute environment infrastructure is updated.
|
default Object |
getTerminateJobsOnUpdate()
Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.
|
@Stability(value=Stable) @Nullable default Number getJobExecutionTimeoutMinutes()
The default value is 30.
@Stability(value=Stable) @Nullable default Object getTerminateJobsOnUpdate()
The default value is false .
@Stability(value=Stable) static CfnComputeEnvironment.UpdatePolicyProperty.Builder builder()
Copyright © 2022. All rights reserved.