Class CfnComputeEnvironment.UpdatePolicyProperty
Specifies the infrastructure update policy for the Amazon EC2 compute environment.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnComputeEnvironment.UpdatePolicyProperty : CfnComputeEnvironment.IUpdatePolicyProperty
Syntax (vb)
Public Class CfnComputeEnvironment.UpdatePolicyProperty 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() | Specifies the infrastructure update policy for the Amazon EC2 compute environment. |
Properties
| JobExecutionTimeoutMinutes | Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. |
| TerminateJobsOnUpdate | Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated. |
Constructors
UpdatePolicyProperty()
Specifies the infrastructure update policy for the Amazon EC2 compute environment.
public UpdatePolicyProperty()
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
};
Properties
JobExecutionTimeoutMinutes
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.
public double? JobExecutionTimeoutMinutes { get; set; }
Property Value
Remarks
TerminateJobsOnUpdate
Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated.
public object? TerminateJobsOnUpdate { get; set; }