Interface CfnJobDefinition.ResourceRetentionPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.ResourceRetentionPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
@Stability(Stable)
public static interface CfnJobDefinition.ResourceRetentionPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.batch.*;
ResourceRetentionPolicyProperty resourceRetentionPolicyProperty = ResourceRetentionPolicyProperty.builder()
.skipDeregisterOnUpdate(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobDefinition.ResourceRetentionPolicyPropertystatic final classAn implementation forCfnJobDefinition.ResourceRetentionPolicyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSkipDeregisterOnUpdate
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 tofalse, the previous revision of the job definition is de-registered after a new revision is created. When the property is set totrue, the previous revision of the job definition is not de-registered.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
builder
-