@Generated(value="jsii-pacmak/1.41.0 (build a274beb)", date="2021-10-28T21:51:42.896Z") @Stability(value=Stable) 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 org.cdk8s.Duration |
getActiveDeadline()
Specifies the duration the job may be active before the system tries to terminate it.
|
default Number |
getBackoffLimit()
Specifies the number of retries before marking this job failed.
|
default org.cdk8s.Duration |
getTtlAfterFinished()
Limits the lifetime of a Job that has finished execution (either Complete or Failed).
|
getMetadatagetPodMetadatagetContainers, getRestartPolicy, getServiceAccount, getVolumes@Stability(value=Stable) @Nullable default org.cdk8s.Duration getActiveDeadline()
Default: - If unset, then there is no deadline.
@Stability(value=Stable) @Nullable default Number getBackoffLimit()
Default: - If not set, system defaults to 6.
@Stability(value=Stable) @Nullable default org.cdk8s.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=Stable) static JobProps.Builder builder()
builder in interface PodSpecPropsbuilder in interface PodTemplatePropsbuilder in interface ResourcePropsJobProps.Builder of JobPropsCopyright © 2021. All rights reserved.