Package org.cdk8s.plus24
Interface WorkloadProps
-
- All Superinterfaces:
AbstractPodProps
,software.amazon.jsii.JsiiSerializable
,ResourceProps
- All Known Subinterfaces:
DaemonSetProps
,DeploymentProps
,JobProps
,StatefulSetProps
- All Known Implementing Classes:
DaemonSetProps.Jsii$Proxy
,DeploymentProps.Jsii$Proxy
,JobProps.Jsii$Proxy
,StatefulSetProps.Jsii$Proxy
,WorkloadProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.59.0 (build eb02c92)", date="2022-05-25T20:54:33.800Z") @Stability(Stable) public interface WorkloadProps extends software.amazon.jsii.JsiiSerializable, AbstractPodProps
Properties for `Workload`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
WorkloadProps.Builder
A builder forWorkloadProps
static class
WorkloadProps.Jsii$Proxy
An implementation forWorkloadProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static WorkloadProps.Builder
builder()
default org.cdk8s.ApiObjectMetadata
getPodMetadata()
The pod metadata of this workload.default Boolean
getSelect()
Automatically allocates a pod label selector for this workload and add it to the pod metadata.-
Methods inherited from interface org.cdk8s.plus24.AbstractPodProps
getAutomountServiceAccountToken, getContainers, getDns, getDockerRegistryAuth, getHostAliases, getInitContainers, getRestartPolicy, getSecurityContext, getServiceAccount, getVolumes
-
Methods inherited from interface org.cdk8s.plus24.ResourceProps
getMetadata
-
-
-
-
Method Detail
-
getPodMetadata
@Stability(Stable) @Nullable default org.cdk8s.ApiObjectMetadata getPodMetadata()
The pod metadata of this workload.
-
getSelect
@Stability(Stable) @Nullable default Boolean getSelect()
Automatically allocates a pod label selector for this workload and add it to the pod metadata.This ensures this workload manages pods created by its pod template.
Default: true
-
builder
@Stability(Stable) static WorkloadProps.Builder builder()
- Returns:
- a
WorkloadProps.Builder
ofWorkloadProps
-
-