@Generated(value="jsii-pacmak/1.13.0 (build 385c325)", date="2020-10-21T06:58:44.669Z") @Stability(value=Experimental) public interface JobProps extends software.amazon.jsii.JsiiSerializable, ResourceProps, PodTemplateProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
JobProps.Builder
A builder for
JobProps |
static class |
JobProps.Jsii$Proxy
An implementation for
JobProps |
| Modifier and Type | Method and Description |
|---|---|
static JobProps.Builder |
builder() |
default Duration |
getTtlAfterFinished()
(experimental) Limits the lifetime of a Job that has finished execution (either Complete or Failed).
|
getMetadatagetPodMetadatagetContainers, getRestartPolicy, getServiceAccount, getVolumes@Stability(value=Experimental) @Nullable default Duration getTtlAfterFinished()
If this field is set, after the Job finishes, it is eligible to
be automatically deleted. When the Job is being deleted, its lifecycle
guarantees (e.g. finalizers) will be honored. If this field is set to zero,
the Job becomes eligible to be deleted immediately after it finishes. This
field is alpha-level and is only honored by servers that enable the
TTLAfterFinished feature.
Default: - If this field is unset, the Job won't be automatically deleted.
@Stability(value=Experimental) static JobProps.Builder builder()
builder in interface PodSpecPropsbuilder in interface PodTemplatePropsbuilder in interface ResourcePropsJobProps.Builder of JobPropsCopyright © 2020. All rights reserved.