UpdatePolicy
class UpdatePolicy
Specifies the infrastructure update policy for the Amazon EC2 compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.
The updatePolicy property applies only to Amazon EC2 managed compute environments. Batch doesn't support updatePolicy for Fargate compute environments. If you specify it for a Fargate compute environment, Batch ignores it.
Types
Properties
Link copied to clipboard
Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. The maximum value is 7200.
Link copied to clipboard
Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated. The default value is false.