interface UpdatePolicyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Batch.CfnComputeEnvironmentPropsMixin.UpdatePolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbatch#CfnComputeEnvironmentPropsMixin_UpdatePolicyProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.batch.CfnComputeEnvironmentPropsMixin.UpdatePolicyProperty |
Python | aws_cdk.cfn_property_mixins.aws_batch.CfnComputeEnvironmentPropsMixin.UpdatePolicyProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_batch » CfnComputeEnvironmentPropsMixin » UpdatePolicyProperty |
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 { aws_batch as batch } from '@aws-cdk/cfn-property-mixins';
const updatePolicyProperty: batch.CfnComputeEnvironmentPropsMixin.UpdatePolicyProperty = {
jobExecutionTimeoutMinutes: 123,
terminateJobsOnUpdate: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| job | number | Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. |
| terminate | boolean | IResolvable | Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated. |
jobExecutionTimeoutMinutes?
Type:
number
(optional, default: 30)
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.
The default value is 30.
terminateJobsOnUpdate?
Type:
boolean | IResolvable
(optional, default: false)
Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated.
The default value is false .

.NET
Go
Java
Python
TypeScript