Show / Hide Table of Contents

Class CfnComputeEnvironment.UpdatePolicyProperty

Specifies the infrastructure update policy for the Amazon EC2 compute environment.

Inheritance
object
CfnComputeEnvironment.UpdatePolicyProperty
Implements
CfnComputeEnvironment.IUpdatePolicyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-updatepolicy.html

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-updatepolicy.html

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

double?

Remarks

The default value is 30.

Default: - 30

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-updatepolicy.html#cfn-batch-computeenvironment-updatepolicy-jobexecutiontimeoutminutes

TerminateJobsOnUpdate

Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated.

public object? TerminateJobsOnUpdate { get; set; }
Property Value

object

Remarks

The default value is false .

Default: - false

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-updatepolicy.html#cfn-batch-computeenvironment-updatepolicy-terminatejobsonupdate

Type union: either bool or IResolvable

Implements

CfnComputeEnvironment.IUpdatePolicyProperty
Back to top Generated by DocFX