Interface CfnComputeEnvironmentPropsMixin.UpdatePolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComputeEnvironmentPropsMixin.UpdatePolicyProperty.Jsii$Proxy
- Enclosing class:
CfnComputeEnvironmentPropsMixin
@Stability(Stable)
public static interface CfnComputeEnvironmentPropsMixin.UpdatePolicyProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the infrastructure update policy for the Amazon EC2 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.cfnpropertymixins.services.batch.*;
UpdatePolicyProperty updatePolicyProperty = UpdatePolicyProperty.builder()
.jobExecutionTimeoutMinutes(123)
.terminateJobsOnUpdate(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnComputeEnvironmentPropsMixin.UpdatePolicyPropertystatic final classAn implementation forCfnComputeEnvironmentPropsMixin.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 compute environment infrastructure is updated.The default value is
false.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
builder
-