interface ResourceRetentionPolicyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Batch.Mixins.CfnJobDefinitionPropsMixin.ResourceRetentionPolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbatch/mixins#CfnJobDefinitionPropsMixin_ResourceRetentionPolicyProperty |
Java | software.amazon.awscdk.mixins.preview.services.batch.mixins.CfnJobDefinitionPropsMixin.ResourceRetentionPolicyProperty |
Python | aws_cdk.mixins_preview.aws_batch.mixins.CfnJobDefinitionPropsMixin.ResourceRetentionPolicyProperty |
TypeScript | @aws-cdk/mixins-preview » aws_batch » mixins » CfnJobDefinitionPropsMixin » 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 { mixins as batch_mixins } from '@aws-cdk/mixins-preview/aws-batch';
const resourceRetentionPolicyProperty: batch_mixins.CfnJobDefinitionPropsMixin.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