aws-cdk-lib.aws_batch.CfnComputeEnvironment.UpdatePolicyProperty

interface UpdatePolicyProperty

LanguageType name
.NETAmazon.CDK.AWS.Batch.CfnComputeEnvironment.UpdatePolicyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnComputeEnvironment_UpdatePolicyProperty
Javasoftware.amazon.awscdk.services.batch.CfnComputeEnvironment.UpdatePolicyProperty
Pythonaws_cdk.aws_batch.CfnComputeEnvironment.UpdatePolicyProperty
TypeScript aws-cdk-lib » aws_batch » CfnComputeEnvironment » UpdatePolicyProperty

Specifies the infrastructure update policy for the 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 { aws_batch as batch } from 'aws-cdk-lib';
const updatePolicyProperty: batch.CfnComputeEnvironment.UpdatePolicyProperty = {
  jobExecutionTimeoutMinutes: 123,
  terminateJobsOnUpdate: false,
};

Properties

NameTypeDescription
jobExecutionTimeoutMinutes?numberSpecifies the job timeout (in minutes) when the compute environment infrastructure is updated.
terminateJobsOnUpdate?boolean | IResolvableSpecifies whether jobs are automatically terminated when the computer environment infrastructure is updated.

jobExecutionTimeoutMinutes?

Type: number (optional)

Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.

The default value is 30.


terminateJobsOnUpdate?

Type: boolean | IResolvable (optional)

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

The default value is false .