AWS::Batch::JobDefinition ResourceRetentionPolicy - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Batch::JobDefinition ResourceRetentionPolicy

Specifies the resource retention policy settings for a job definition.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "SkipDeregisterOnUpdate" : Boolean }

YAML

SkipDeregisterOnUpdate: Boolean

Properties

SkipDeregisterOnUpdate

Specifies whether the previous revision of the job definition is retained in an active status after UPDATE events for the resource. The default value is false. When the property is set to false, the previous revision of the job definition is de-registered after a new revision is created. When the property is set to true, the previous revision of the job definition is not de-registered.

Required: No

Type: Boolean

Update requires: No interruption