interface ResourceRetentionPolicyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Batch.CfnJobDefinition.ResourceRetentionPolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnJobDefinition_ResourceRetentionPolicyProperty |
Java | software.amazon.awscdk.services.batch.CfnJobDefinition.ResourceRetentionPolicyProperty |
Python | aws_cdk.aws_batch.CfnJobDefinition.ResourceRetentionPolicyProperty |
TypeScript | aws-cdk-lib » aws_batch » CfnJobDefinition » ResourceRetentionPolicyProperty |
Specifies the resource retention policy settings for a job definition.
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 resourceRetentionPolicyProperty: batch.CfnJobDefinition.ResourceRetentionPolicyProperty = {
skipDeregisterOnUpdate: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| skip | boolean | IResolvable | Specifies whether the previous revision of the job definition is retained in an active status after UPDATE events for the resource. |
skipDeregisterOnUpdate?
Type:
boolean | IResolvable
(optional, default: false)
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.

.NET
Go
Java
Python
TypeScript