AWS::Batch::JobDefinition ResourceRetentionPolicy - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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

AWS::Batch::JobDefinition ResourceRetentionPolicy

Specifies the resource retention policy settings for a job definition.

Syntax

To declare this entity in your Amazon 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