Class CfnComputeEnvironment.UpdatePolicyProperty
Specifies the infrastructure update policy for the compute environment.
Inheritance
System.Object
CfnComputeEnvironment.UpdatePolicyProperty
Implements
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class UpdatePolicyProperty : Object, CfnComputeEnvironment.IUpdatePolicyProperty
Syntax (vb)
Public Class UpdatePolicyProperty
Inherits Object
Implements CfnComputeEnvironment.IUpdatePolicyProperty
Remarks
For more information about infrastructure updates, see Updating compute environments in the AWS Batch User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;
var updatePolicyProperty = new UpdatePolicyProperty {
JobExecutionTimeoutMinutes = 123,
TerminateJobsOnUpdate = false
};
Synopsis
Constructors
UpdatePolicyProperty() |
Properties
JobExecutionTimeoutMinutes | Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. |
TerminateJobsOnUpdate | Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. |
Constructors
UpdatePolicyProperty()
public UpdatePolicyProperty()
Properties
JobExecutionTimeoutMinutes
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.
public Nullable<double> JobExecutionTimeoutMinutes { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
TerminateJobsOnUpdate
Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.
public object TerminateJobsOnUpdate { get; set; }
Property Value
System.Object
Remarks
The default value is false
.
Default: - false